summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2009-06-25 19:03:52 +0000
committerJohannes Schlüter <johannes@php.net>2009-06-25 19:03:52 +0000
commit9485cad6886578985fbc3b9453513ada8b4d480f (patch)
treeb45e15d80fa2c097f2b655a9e491c2b26824eb18 /ext/mysqlnd/mysqlnd_structs.h
parentca1bda67f2a9a4c16bc08a2d5e687225f04e4313 (diff)
downloadphp-git-9485cad6886578985fbc3b9453513ada8b4d480f.tar.gz
Revert mysqlnd to RC3 state after issues with pconnects
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h
index 0c80a5316c..d9f9dfcdb5 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;
};