mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Revert "Add into zval to GC buffer first"
I thought I was on a branch and not master oopsie
This reverts commit bd02141659
.
This commit is contained in:
parent
bd02141659
commit
b2480c3b55
1 changed files with 2 additions and 5 deletions
|
@ -2027,11 +2027,8 @@ out:
|
|||
static HashTable *dbstmt_get_gc(zend_object *object, zval **gc_data, int *gc_count)
|
||||
{
|
||||
pdo_stmt_t *stmt = php_pdo_stmt_fetch_object(object);
|
||||
|
||||
zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create();
|
||||
zend_get_gc_buffer_add_zval(gc_buffer, &stmt->fetch.into);
|
||||
zend_get_gc_buffer_add_zval(gc_buffer, &stmt->database_object_handle);
|
||||
zend_get_gc_buffer_use(gc_buffer, gc_data, gc_count);
|
||||
*gc_data = &stmt->fetch.into;
|
||||
*gc_count = 1;
|
||||
|
||||
/**
|
||||
* If there are no dynamic properties and the default property is 1 (that is, there is only one property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue