]> granicus.if.org Git - php/commitdiff
Fix wrong lenght size
authorAndrey Hristov <andrey@php.net>
Thu, 31 Jul 2014 18:27:51 +0000 (21:27 +0300)
committerAndrey Hristov <andrey@php.net>
Thu, 31 Jul 2014 18:27:51 +0000 (21:27 +0300)
ext/mysqlnd/mysqlnd_wireprotocol.c

index dfdba4084e13dd23d395b310a0267888002c013d..348b5640e4d2938172b0126e7268472046db6235 100644 (file)
@@ -226,7 +226,7 @@ php_mysqlnd_net_store_length_size(uint64_t length)
        if (length < (uint64_t) L64(16777216)) {
                return 4;
        }
-       return 8;
+       return 9;
 }
 /* }}} */