com php-src: Fix wrong lenght size: ext/mysqlnd/mysqlnd_wirep rotocol.c
| From: | Andrey Hristov | Date: | Thu, 31 Jul 2014 18:27:51 +0000 |
| Subject: | com php-src: Fix wrong lenght size: ext/mysqlnd/mysqlnd_wirep rotocol.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79701@lists.php.net to get a copy of this message | ||
Commit: 95febf26c67b7ccb8703dc8b005658ebd851cb89
Author: Andrey Hristov <andrey@php.net> Thu, 31 Jul 2014 21:27:51 +0300
Parents: c2f2d5c8fc804bfc4ab315c4f54e6257b5c2bc57
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=95febf26c67b7ccb8703dc8b005658ebd851cb89
Log:
Fix wrong lenght size
Changed paths:
M ext/mysqlnd/mysqlnd_wireprotocol.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index dfdba40..348b564 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -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;
}
/* }}} */