From 8d95b3da897dcd96b040ae6dac976d7070168bf1 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Wed, 29 Jan 2025 19:33:06 +0000 Subject: [PATCH] ext/pdo: Remove refcount field from _pdo_stmt_t (#17622) It is unused, and removing it saves 8 bytes on 64 bits systems. --- ext/pdo/php_pdo_driver.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index f3424071b30..cb483a6bf6b 100644 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -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;