mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
fixed bug #29283
This commit is contained in:
parent
197d65770a
commit
62ed6a0f2b
@ -181,7 +181,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
|
|||||||
} \
|
} \
|
||||||
__ptr = (__type)my_res->ptr; \
|
__ptr = (__type)my_res->ptr; \
|
||||||
if (!strcmp((char *)__name, "mysqli_stmt")) {\
|
if (!strcmp((char *)__name, "mysqli_stmt")) {\
|
||||||
if (!((MYSQL_STMT *)__ptr)->mysql) {\
|
if (!((MY_STMT *)__ptr)->stmt->mysql) {\
|
||||||
php_error(E_WARNING, "Statement isn't valid anymore");\
|
php_error(E_WARNING, "Statement isn't valid anymore");\
|
||||||
RETURN_NULL();\
|
RETURN_NULL();\
|
||||||
}\
|
}\
|
||||||
|
Loading…
Reference in New Issue
Block a user