]> granicus.if.org Git - php/commit
Fix two problems:
authorAndrey Hristov <andrey@php.net>
Wed, 17 Jun 2009 16:21:34 +0000 (16:21 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 17 Jun 2009 16:21:34 +0000 (16:21 +0000)
commit64046529f09d43be352bbd9b7d74200e2057a999
tree4ca4489c21eafa723a79f3fb22cbae1a40b47dff
parenta26dc7bd5056a14b8b1ee20f50de4d4b17da7859
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
  persistent connections. If the build is not debug there will be no error
  but the memory will be freed and in the second use of this pconn freed
  memory will be used - not good! For now the arena doesn't take an argument
  whether it should allocate persistently or not, thus persistent is safe
  for now.

Johannes gave his +1 to commit this.
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_block_alloc.c