summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2016-12-12 21:59:29 +0200
committerAndrey Hristov <andrey@php.net>2016-12-12 21:59:29 +0200
commit9eca4dca73d9a6517f773134949bf8613a7eee13 (patch)
tree3b6507fa9b98184dd2d640b63adb7895e83f6dbc /ext/mysqlnd/mysqlnd_wireprotocol.h
parent3836c2faac71f7dfc19cc0749636489a8f3d536a (diff)
downloadphp-git-9eca4dca73d9a6517f773134949bf8613a7eee13.tar.gz
Optimized memory handling of BIT fields. Less memory copies and less
memory usage.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index 3dc17053cf..f9117b045c 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -235,9 +235,6 @@ typedef struct st_mysqlnd_packet_row {
zend_bool binary_protocol;
zend_bool persistent_alloc;
MYSQLND_FIELD *fields_metadata;
- /* We need this to alloc bigger bufs in non-PS mode */
- unsigned int bit_fields_count;
- size_t bit_fields_total_len; /* trailing \0 not counted */
/* If error packet, we use these */
MYSQLND_ERROR_INFO error_info;