| 59 | } |
| 60 | |
| 61 | void init_sql_alloc(PSI_memory_key key, MEM_ROOT *mem_root, uint block_size, |
| 62 | uint pre_alloc, myf my_flags) |
| 63 | { |
| 64 | init_alloc_root(key, mem_root, block_size, pre_alloc, my_flags); |
| 65 | mem_root->error_handler=sql_alloc_error_handler; |
| 66 | } |
| 67 | |
| 68 | |
| 69 | char *sql_strmake_with_convert(THD *thd, const char *str, size_t arg_length, |