mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
This commit is contained in:
@ -382,7 +382,8 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen)
|
||||
/* copy data to sql_handler */
|
||||
if (!(sql_handler= new SQL_HANDLER(thd)))
|
||||
goto err;
|
||||
init_alloc_root(&sql_handler->mem_root, 1024, 0, MYF(MY_THREAD_SPECIFIC));
|
||||
init_alloc_root(&sql_handler->mem_root, "sql_handler", 1024, 0,
|
||||
MYF(MY_THREAD_SPECIFIC));
|
||||
|
||||
sql_handler->db.length= tables->db.length;
|
||||
sql_handler->table_name.length= tables->table_name.length;
|
||||
|
Reference in New Issue
Block a user