]> granicus.if.org Git - php/commit
Fix inconsistencies
authorAndrey Hristov <andrey@php.net>
Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)
commitd339672e45bf18b0d17e78d4e2bf9026557682fe
treedb0e753949d96e9dec3a9269beffe61711ed9605
parentffb8df30abfaca1f47355bd452db2de4035543aa
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd_debug.c
ext/mysqlnd/mysqlnd_enum_n_def.h
ext/mysqlnd/mysqlnd_net.c
ext/mysqlnd/mysqlnd_priv.h
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_ps_codec.c
ext/mysqlnd/mysqlnd_statistics.c
ext/mysqlnd/mysqlnd_wireprotocol.c