]> granicus.if.org Git - php/commit
Avoid buffer resizing and let the initial buffer allocation happen a couple of lines...
authorUlf Wendel <uw@php.net>
Thu, 8 Oct 2009 16:33:17 +0000 (16:33 +0000)
committerUlf Wendel <uw@php.net>
Thu, 8 Oct 2009 16:33:17 +0000 (16:33 +0000)
commita1d3a3224e7bbb48473877f239b0b24f8da812a3
tree06f7bbf4f180bdd6f0ae098f627fb35abc766c39
parentb2ff362a5c29c9f951fc1231362e62d45c1ace19
Avoid buffer resizing and let the initial buffer allocation happen a couple of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k.
ext/mysqlnd/mysqlnd.c