mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Update to new root alloc, OPTIMIZE TABLE and some other changes
This commit is contained in:
@@ -27,9 +27,9 @@ extern "C" {
|
||||
}
|
||||
}
|
||||
|
||||
void init_sql_alloc(MEM_ROOT *mem_root,uint block_size)
|
||||
void init_sql_alloc(MEM_ROOT *mem_root, uint block_size, uint pre_alloc)
|
||||
{
|
||||
init_alloc_root(mem_root,block_size);
|
||||
init_alloc_root(mem_root, block_size, pre_alloc);
|
||||
mem_root->error_handler=sql_alloc_error_handler;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user