diff options
author | Xinchen Hui <laruence@php.net> | 2014-05-26 14:17:45 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-05-26 14:17:45 +0800 |
commit | 9fa9da483129b53b35b2c2106c17f8a7a5b402f6 (patch) | |
tree | 25feb4c0dbefdc46b7d85a60fc6cb5ef0c9df6c1 /ext/pdo/pdo_stmt.c | |
parent | 066c1d5451a33c652e23a59e6455dca331007919 (diff) | |
download | php-git-9fa9da483129b53b35b2c2106c17f8a7a5b402f6.tar.gz |
Finished persistent PDO implement
Diffstat (limited to 'ext/pdo/pdo_stmt.c')
-rw-r--r-- | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 5d291c0771..6f74889980 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -2229,7 +2229,7 @@ static union _zend_function *dbstmt_method_get(zend_object **object_pp, zend_str /* not a pre-defined method, nor a user-defined method; check * the driver specific methods */ if (!stmt->dbh->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_STMT]) { - if (!pdo_hash_methods(stmt->dbh, + if (!pdo_hash_methods(Z_PDO_OBJECT_P(&stmt->database_object_handle), PDO_DBH_DRIVER_METHOD_KIND_STMT TSRMLS_CC) || !stmt->dbh->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_STMT]) { goto out; |