svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/mysqlnd/mysqlnd_wireprotocol.c trunk/ext/mysqlnd/mysqlnd_wireprotocol.c

From: Date: Thu, 17 Dec 2009 12:30:58 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/mysqlnd/mysqlnd_wireprotocol.c trunk/ext/mysqlnd/mysqlnd_wireprotocol.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-61338@lists.php.net to get a copy of this message
andrey Thu, 17 Dec 2009 12:30:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292250 Log: During refactoring of the function mysqlnd_stream_write_w_header() it was found that there is a bug in the way the data is sent, although a very rare one which will only affect very large queries which have length 16777214. The communication will hang. A way to test it is to execute the following: /php -r '$c=mysqli_connect("127.0.0.1","root","root","test"); $q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")"; $c->query($q);' Changed paths: U php/php-src/branches/PHP_5_3/NEWS U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_wireprotocol.c U php/php-src/trunk/ext/mysqlnd/mysqlnd_wireprotocol.c

Attachment: [text/x-diff] svn-diffs-292250.txt
« previous php.cvs (#61338) next »