summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-01-22 15:57:00 +0300
committerDmitry Stogov <dmitry@zend.com>2018-01-22 15:57:00 +0300
commitb3e22da745957a6d67bc604268184eb8ba161a08 (patch)
treedcfe51e8cf081019136cf0b8bdb2ad6983e9c873 /ext/pdo_mysql
parent6fb5568b2de6430955936235e29413c1de4c6253 (diff)
downloadphp-git-b3e22da745957a6d67bc604268184eb8ba161a08.tar.gz
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r--ext/pdo_mysql/mysql_statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c
index ce918f1e69..854623f314 100644
--- a/ext/pdo_mysql/mysql_statement.c
+++ b/ext/pdo_mysql/mysql_statement.c
@@ -90,7 +90,7 @@ static int pdo_mysql_stmt_dtor(pdo_stmt_t *stmt) /* {{{ */
if (!Z_ISUNDEF(stmt->database_object_handle)
&& IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE(stmt->database_object_handle)])
- && (!(GC_FLAGS(Z_OBJ(stmt->database_object_handle)) & IS_OBJ_FREE_CALLED))) {
+ && (!(OBJ_FLAGS(Z_OBJ(stmt->database_object_handle)) & IS_OBJ_FREE_CALLED))) {
while (mysql_more_results(S->H->server)) {
MYSQL_RES *res;
if (mysql_next_result(S->H->server) != 0) {