summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-12-11 11:58:57 +0000
committerAndrey Hristov <andrey@php.net>2009-12-11 11:58:57 +0000
commitb1d4cea57e040b0ba2266d7828dd8f07cf5fb677 (patch)
tree98d4f841873535cbd048c1f03e8724909cfeb117 /ext/mysqlnd/mysqlnd_structs.h
parentfd0d9822d8fcec3d52178529e478c94d48253b2a (diff)
downloadphp-git-b1d4cea57e040b0ba2266d7828dd8f07cf5fb677.tar.gz
Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h
index aadf28a81a..8a651de841 100644
--- a/ext/mysqlnd/mysqlnd_structs.h
+++ b/ext/mysqlnd/mysqlnd_structs.h
@@ -241,9 +241,9 @@ typedef struct st_mysqlnd_net
#endif
/* cmd buffer */
MYSQLND_CMD_BUFFER cmd_buffer;
-} MYSQLND_NET;
-
+ zend_bool persistent;
+} MYSQLND_NET;
struct st_mysqlnd_conn_methods
@@ -415,7 +415,7 @@ struct st_mysqlnd_stmt_methods
struct st_mysqlnd_connection
{
/* Operation related */
- MYSQLND_NET net;
+ MYSQLND_NET * net;
/* Information related */
char *host;