From e8412fb61c53e69bf098986f28a03c40f4d50f44 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Fri, 28 Aug 2009 09:30:16 +0000 Subject: Fix for bug#48745 mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields --- ext/mysqlnd/mysqlnd_structs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ext/mysqlnd/mysqlnd_structs.h') diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index 2120e2d81f..ddb7b40da6 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -45,10 +45,12 @@ struct st_mysqlnd_memory_pool struct st_mysqlnd_memory_pool_chunk { - uint32_t app; + uint64_t app; MYSQLND_MEMORY_POOL *pool; zend_uchar *ptr; - uint32_t size; + unsigned int size; + void (*resize_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk, unsigned int size TSRMLS_DC); + void (*free_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk, zend_bool cache_it TSRMLS_DC); zend_bool from_pool; }; -- cgit v1.2.1