diff options
author | Andrey Hristov <andrey@php.net> | 2010-03-29 17:04:16 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-03-29 17:04:16 +0000 |
commit | 94cd357f5b4a2533510e382e08861269f57602e0 (patch) | |
tree | 65d0d2b969cd8f31eb6af1fbe908c9db965224f1 /ext/mysqlnd/mysqlnd_statistics.c | |
parent | e99039d69269445ea7a786cff6086a314d301da0 (diff) | |
download | php-git-94cd357f5b4a2533510e382e08861269f57602e0.tar.gz |
Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_statistics.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_statistics.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_statistics.c b/ext/mysqlnd/mysqlnd_statistics.c index e52414b3e8..2e7665d8a7 100644 --- a/ext/mysqlnd/mysqlnd_statistics.c +++ b/ext/mysqlnd/mysqlnd_statistics.c @@ -112,6 +112,10 @@ const MYSQLND_STRING mysqlnd_stats_values_names[STAT_LAST] = { STR_W_LEN("mem_realloc_count") }, { STR_W_LEN("mem_realloc_ammount") }, { STR_W_LEN("mem_free_count") }, + { STR_W_LEN("mem_estrndup_count") }, + { STR_W_LEN("mem_strndup_count") }, + { STR_W_LEN("mem_estndup_count") }, + { STR_W_LEN("mem_strdup_count") }, { STR_W_LEN("proto_text_fetched_null") }, { STR_W_LEN("proto_text_fetched_bit") }, { STR_W_LEN("proto_text_fetched_tinyint") }, |