diff options
author | Andrey Hristov <andrey@php.net> | 2014-05-20 21:50:15 +0300 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2014-05-20 21:50:15 +0300 |
commit | 5d4f9dfff40b3abc8c3b638541852ac1b602c308 (patch) | |
tree | a1a523a8a3bc57f4a22b453cbc9db6ab1acc6620 /ext/mysqlnd/mysqlnd_statistics.c | |
parent | 5d57e17a15cf89bf8b20d718ce5070b42ee446e0 (diff) | |
download | php-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.c | 2 |
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]; |