mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Don't store the object zval directly
This commit is contained in:
parent
c0d910d506
commit
5eae6d1405
2 changed files with 13 additions and 22 deletions
|
@ -93,7 +93,6 @@ typedef struct _php_sqlite3_result_object php_sqlite3_result;
|
|||
struct _php_sqlite3_result_object {
|
||||
php_sqlite3_db_object *db_obj;
|
||||
php_sqlite3_stmt *stmt_obj;
|
||||
zval stmt_obj_zval;
|
||||
|
||||
/* Cache of column names to speed up repeated fetchArray(SQLITE3_ASSOC) calls.
|
||||
* Cache is cleared on reset() and finalize() calls. */
|
||||
|
@ -114,7 +113,6 @@ static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj)
|
|||
struct _php_sqlite3_stmt_object {
|
||||
sqlite3_stmt *stmt;
|
||||
php_sqlite3_db_object *db_obj;
|
||||
zval db_obj_zval;
|
||||
|
||||
int initialised;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue