diff options
author | Nikita Popov <nikic@php.net> | 2017-01-02 23:47:30 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2017-01-02 23:47:30 +0100 |
commit | 43ed89ea3185cedcdacef2683d4154cab8884654 (patch) | |
tree | 7e1c4a120b25d5d3ed0731d5d4fd8386befe249e | |
parent | 737eb060dbbce6c77f499d800bacbfe6ef3e2087 (diff) | |
download | php-git-43ed89ea3185cedcdacef2683d4154cab8884654.tar.gz |
Fix data_size decrement
We don't want to decrement the pointer...
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index d6fa9017bd..322f187ef5 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1531,7 +1531,7 @@ php_mysqlnd_read_row_ex(MYSQLND_PFC * pfc, pool->free_chunk(pool, *buffer); *buffer = NULL; } - *data_size--; + (*data_size)--; DBG_RETURN(ret); } /* }}} */ |