diff options
author | Andrey Hristov <andrey@php.net> | 2010-04-22 15:07:40 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-04-22 15:07:40 +0000 |
commit | 1ed3da294b8fdfd090a31a67320a01801a7caf3d (patch) | |
tree | ab3fa3854c66a8baf7e1ff8169b210395af1b214 /ext/mysqlnd/mysqlnd_ps.c | |
parent | e87d72002b7b173331c073e1e581e69f788d8a9c (diff) | |
download | php-git-1ed3da294b8fdfd090a31a67320a01801a7caf3d.tar.gz |
Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index fd3d7d37fb..156cb51475 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -102,7 +102,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s TSRMLS_DC) result->m.fetch_row = mysqlnd_fetch_stmt_row_buffered; result->m.fetch_lengths = NULL;/* makes no sense */ - result->result_set_memory_pool = mysqlnd_mempool_create(16000 TSRMLS_CC); + result->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_CC); ret = result->m.store_result_fetch_data(conn, result, result->meta, TRUE, to_cache TSRMLS_CC); |