diff options
author | Andrey Hristov <andrey@php.net> | 2010-01-07 19:44:59 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-01-07 19:44:59 +0000 |
commit | 73b23fca37d6d27d703511d9a7eedad84e786f23 (patch) | |
tree | 2f47b8e985d32d184670ef663021cbeea12402ba /ext/mysqlnd/mysqlnd_net.c | |
parent | 1ee6c8277faa3f48ab8e82888a34e0e2d0a8ea1f (diff) | |
download | php-git-73b23fca37d6d27d703511d9a7eedad84e786f23.tar.gz |
Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
object. But this is restricted to the structure of the packets, not
the flow.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_net.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_net.c b/ext/mysqlnd/mysqlnd_net.c index 820855eaf7..ea0ece399c 100644 --- a/ext/mysqlnd/mysqlnd_net.c +++ b/ext/mysqlnd/mysqlnd_net.c @@ -687,9 +687,9 @@ mysqlnd_net_init(zend_bool persistent TSRMLS_DC) /* }}} */ -/* {{{ mysqlnd_net_init */ +/* {{{ mysqlnd_net_free */ void -mysqlnd_net_free(MYSQLND_NET * net TSRMLS_DC) +mysqlnd_net_free(MYSQLND_NET * const net TSRMLS_DC) { zend_bool pers = net->persistent; |