diff options
author | konstantin@mysql.com <> | 2004-02-02 23:01:58 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-02-02 23:01:58 +0300 |
commit | 74a1d68d3b39925e0f852ccfafea8f5f8d4b4f20 (patch) | |
tree | f3ac440023264a510364912fe7f9dbaa97266806 /include | |
parent | 348a184a7df032903ab218b868a3bae2be21efa9 (diff) | |
download | mariadb-git-74a1d68d3b39925e0f852ccfafea8f5f8d4b4f20.tar.gz |
Proposed (version #2) fix for bug #1948:
"system variable query_prealloc_size can be only global"
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index e1656cfc626..75e22629a19 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -740,6 +740,8 @@ extern void init_alloc_root(MEM_ROOT *mem_root, uint block_size, extern gptr alloc_root(MEM_ROOT *mem_root,unsigned int Size); extern void free_root(MEM_ROOT *root, myf MyFLAGS); extern void set_prealloc_root(MEM_ROOT *root, char *ptr); +extern void reset_root_defaults(MEM_ROOT *mem_root, uint block_size, + uint prealloc_size); extern char *strdup_root(MEM_ROOT *root,const char *str); extern char *strmake_root(MEM_ROOT *root,const char *str,uint len); extern char *memdup_root(MEM_ROOT *root,const char *str,uint len); |