diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-17 12:30:58 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-17 12:30:58 +0000 |
commit | 22528b14a4c0055589ecc012bf6a6bd4e7bc1f57 (patch) | |
tree | dd707999a77395f1362e16e509fa67e137c03ea3 /ext/mysqlnd/mysqlnd_loaddata.c | |
parent | 4e06ca007f951d3d8e84bab5f40c75d2db4ab4fb (diff) | |
download | php-git-22528b14a4c0055589ecc012bf6a6bd4e7bc1f57.tar.gz |
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);'
Diffstat (limited to 'ext/mysqlnd/mysqlnd_loaddata.c')
0 files changed, 0 insertions, 0 deletions