mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Usee reference-counting instead of duplication
This commit is contained in:
parent
5f349f3ab8
commit
d8f916124b
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ static int sqlite3_do_callback(struct php_sqlite3_fci *fc, zval *cb, int argc, s
|
|||
if (Z_ISUNDEF(agg_context->zval_context)) {
|
||||
ZVAL_NULL(&agg_context->zval_context);
|
||||
}
|
||||
ZVAL_DUP(&zargs[0], &agg_context->zval_context);
|
||||
ZVAL_COPY(&zargs[0], &agg_context->zval_context);
|
||||
ZVAL_LONG(&zargs[1], agg_context->row_count);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue