summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-11-02 10:40:45 +0800
committerXinchen Hui <laruence@gmail.com>2017-11-02 10:40:45 +0800
commit39845250f242b7739d30b4b8a287b4a6130d8fa1 (patch)
tree3f8f69284a99f7932989f2460e8d78d1757a34cf /ext/mysqlnd/mysqlnd_wireprotocol.h
parenta32e567ec8b28a7ccc0ebca9d24911788aaf853c (diff)
parenta7305eb539596e175bd6c3ae9a20953358c5d677 (diff)
downloadphp-git-39845250f242b7739d30b4b8a287b4a6130d8fa1.tar.gz
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src: Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary) Fixed memory leaks Use interned strings for "magic" property of internal classes. (not copyied into SHM) Reverted incomplete fix and too strict asserts. Mark persistent connection related data as "thread-local". Persistent resources are "thread-local". Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex(). PCRE cache is "thread-local" Allow reference-counting on "thread-local" persistent zvals
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index 7722f8ee6b..ad6aa52409 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -209,7 +209,6 @@ typedef struct st_mysqlnd_packet_res_field {
MYSQLND_FIELD *metadata;
/* For table definitions, empty for result sets */
zend_bool skip_parsing;
- zend_bool persistent_alloc;
MYSQLND_ERROR_INFO error_info;
} MYSQLND_PACKET_RES_FIELD;
@@ -233,7 +232,6 @@ typedef struct st_mysqlnd_packet_row {
zend_bool skip_extraction;
zend_bool binary_protocol;
- zend_bool persistent_alloc;
MYSQLND_FIELD *fields_metadata;
/* If error packet, we use these */