mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Get rid of unnecessary wrapping a statement in a free list object
This simplifies the code and reduces memory usage.
This commit is contained in:
parent
43ac692a09
commit
bc74cff479
2 changed files with 13 additions and 35 deletions
|
@ -89,12 +89,6 @@ typedef struct _php_sqlite3_agg_context {
|
|||
typedef struct _php_sqlite3_stmt_object php_sqlite3_stmt;
|
||||
typedef struct _php_sqlite3_result_object php_sqlite3_result;
|
||||
|
||||
/* sqlite3 objects to be destroyed */
|
||||
typedef struct _php_sqlite3_free_list {
|
||||
zval stmt_obj_zval;
|
||||
php_sqlite3_stmt *stmt_obj;
|
||||
} php_sqlite3_free_list;
|
||||
|
||||
/* Structure for SQLite Result object. */
|
||||
struct _php_sqlite3_result_object {
|
||||
php_sqlite3_db_object *db_obj;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue