com php-src: Export free_statement to replace php_pdo _stmt_delref which was deleted in 9fe853 130951cff085907c0ac136edd31 ec52288 along with
php_pdo_stmt_addref: ext/pdo/pdo_stmt.c ext/pdo/php_pdo_driver.h

From: Date: Sat, 02 May 2015 01:17:34 +0000
Subject: com php-src: Export free_statement to replace php_pdo _stmt_delref which was deleted in 9fe853 130951cff085907c0ac136edd31 ec52288 along with
php_pdo_stmt_addref: ext/pdo/pdo_stmt.c ext/pdo/php_pdo_driver.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86573@lists.php.net to get a copy of this message
Commit: be806eba8094668a743dacb0e888f1fb4a2d8227 Author: Christopher Jones <christopher.jones@oracle.com> Fri, 1 May 2015 18:17:34 -0700 Parents: 98fe9405e26ae7aa25592557ef92d238ba34ff51 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=be806eba8094668a743dacb0e888f1fb4a2d8227 Log: Export free_statement to replace php_pdo_stmt_delref which was deleted in 9fe853130951cff085907c0ac136edd31ec52288 along with php_pdo_stmt_addref Changed paths: M ext/pdo/pdo_stmt.c M ext/pdo/php_pdo_driver.h Diff: diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 3c09609..8c33b7f 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -2298,7 +2298,7 @@ void pdo_stmt_init(void) pdo_row_ce->serialize = pdo_row_serialize; } -static void free_statement(pdo_stmt_t *stmt) +PDO_API void free_statement(pdo_stmt_t *stmt) { if (stmt->bound_params) { zend_hash_destroy(stmt->bound_params); diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 899208e..2181ba9 100644 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -687,8 +687,7 @@ PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh); PDO_API void php_pdo_dbh_delref(pdo_dbh_t *dbh); -PDO_API void php_pdo_stmt_addref(pdo_stmt_t *stmt); -PDO_API void php_pdo_stmt_delref(pdo_stmt_t *stmt); +PDO_API void free_statement(pdo_stmt_t *stmt); #endif /* PHP_PDO_DRIVER_H */

« previous php.cvs (#86573) next »