Skip to content

Commit 2ca3539

Browse files
committed
Copy instead of move
1 parent 05ad183 commit 2ca3539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/mysqli_nonapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ PHP_FUNCTION(mysqli_fetch_column)
464464
RETURN_FALSE;
465465
}
466466

467-
ZVAL_COPY_VALUE(return_value, zend_hash_index_find(Z_ARR(row_array), col_no));
467+
ZVAL_COPY(return_value, zend_hash_index_find(Z_ARR(row_array), col_no));
468468
zval_ptr_dtor_nogc(&row_array);
469469
}
470470
/* }}} */

0 commit comments

Comments
 (0)