Skip to content

Commit

Permalink
ext/pdo: Remove refcount field from _pdo_stmt_t (#17622)
Browse files Browse the repository at this point in the history
It is unused, and removing it saves 8 bytes on 64 bits systems.
  • Loading branch information
Girgias authored Jan 29, 2025
1 parent e1f3249 commit 8d95b3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/pdo/php_pdo_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ struct _pdo_stmt_t {
/* for lazy fetches, we always return the same lazy object handle.
* Let's keep it here. */
zval lazy_object_ref;
zend_ulong refcount;

/* defaults for fetches */
enum pdo_fetch_type default_fetch_type;
Expand Down

0 comments on commit 8d95b3d

Please sign in to comment.