diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-11-02 03:27:25 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-11-02 03:27:25 +0300 |
commit | a7305eb539596e175bd6c3ae9a20953358c5d677 (patch) | |
tree | 2f3c4fe063b1f204231facf5c4d9cdf21808c0ae /ext/mysqlnd/mysqlnd_result.h | |
parent | 468fd78bff6d97776f12fe84b946e47a4c16040f (diff) | |
download | php-git-a7305eb539596e175bd6c3ae9a20953358c5d677.tar.gz |
Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_result.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_result.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mysqlnd/mysqlnd_result.h b/ext/mysqlnd/mysqlnd_result.h index 24ab81f6b2..f3b84f8508 100644 --- a/ext/mysqlnd/mysqlnd_result.h +++ b/ext/mysqlnd/mysqlnd_result.h @@ -20,10 +20,10 @@ #ifndef MYSQLND_RESULT_H #define MYSQLND_RESULT_H -PHPAPI MYSQLND_RES * mysqlnd_result_init(const unsigned int field_count, const zend_bool persistent); -PHPAPI MYSQLND_RES_UNBUFFERED * mysqlnd_result_unbuffered_init(const unsigned int field_count, const zend_bool ps, const zend_bool persistent); -PHPAPI MYSQLND_RES_BUFFERED_ZVAL * mysqlnd_result_buffered_zval_init(const unsigned int field_count, const zend_bool ps, const zend_bool persistent); -PHPAPI MYSQLND_RES_BUFFERED_C * mysqlnd_result_buffered_c_init(const unsigned int field_count, const zend_bool ps, const zend_bool persistent); +PHPAPI MYSQLND_RES * mysqlnd_result_init(const unsigned int field_count); +PHPAPI MYSQLND_RES_UNBUFFERED * mysqlnd_result_unbuffered_init(const unsigned int field_count, const zend_bool ps); +PHPAPI MYSQLND_RES_BUFFERED_ZVAL * mysqlnd_result_buffered_zval_init(const unsigned int field_count, const zend_bool ps); +PHPAPI MYSQLND_RES_BUFFERED_C * mysqlnd_result_buffered_c_init(const unsigned int field_count, const zend_bool ps); enum_func_status mysqlnd_query_read_result_set_header(MYSQLND_CONN_DATA * conn, MYSQLND_STMT * stmt); |