summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_statistics.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2014-05-20 21:50:15 +0300
committerAndrey Hristov <andrey@php.net>2014-05-20 21:50:15 +0300
commit5d4f9dfff40b3abc8c3b638541852ac1b602c308 (patch)
treea1a523a8a3bc57f4a22b453cbc9db6ab1acc6620 /ext/mysqlnd/mysqlnd_statistics.c
parent5d57e17a15cf89bf8b20d718ce5070b42ee446e0 (diff)
downloadphp-git-5d4f9dfff40b3abc8c3b638541852ac1b602c308.tar.gz
Second set of changes to mysqlnd for phpng.
A bit problematic is that the streams seem not to be completely ported. Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list) and these need to be carefully checked. The test suite should catch them, however.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_statistics.c')
-rw-r--r--ext/mysqlnd/mysqlnd_statistics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_statistics.c b/ext/mysqlnd/mysqlnd_statistics.c
index c6387e4e8a..8b8eef6e72 100644
--- a/ext/mysqlnd/mysqlnd_statistics.c
+++ b/ext/mysqlnd/mysqlnd_statistics.c
@@ -201,7 +201,7 @@ mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING
{
unsigned int i;
- mysqlnd_array_init(return_value, stats->count);
+ array_init_size(return_value, stats->count);
for (i = 0; i < stats->count; i++) {
char tmp[25];