diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-01-22 15:57:00 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-01-22 15:57:00 +0300 |
commit | b3e22da745957a6d67bc604268184eb8ba161a08 (patch) | |
tree | dcfe51e8cf081019136cf0b8bdb2ad6983e9c873 /ext/pdo_pgsql/pgsql_statement.c | |
parent | 6fb5568b2de6430955936235e29413c1de4c6253 (diff) | |
download | php-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_pgsql/pgsql_statement.c')
-rw-r--r-- | ext/pdo_pgsql/pgsql_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_statement.c b/ext/pdo_pgsql/pgsql_statement.c index 02483e6c23..2321d20576 100644 --- a/ext/pdo_pgsql/pgsql_statement.c +++ b/ext/pdo_pgsql/pgsql_statement.c @@ -63,7 +63,7 @@ static int pgsql_stmt_dtor(pdo_stmt_t *stmt) pdo_pgsql_stmt *S = (pdo_pgsql_stmt*)stmt->driver_data; zend_bool server_obj_usable = !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); if (S->result) { /* free the resource */ |