1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-14828 Server crashes in JOIN::prepare / setup_fields on 2nd execution of PS [fixes #437]

This commit is contained in:
Aleksey Midenkov
2018-01-02 15:28:50 +03:00
parent 8efca72f4a
commit b8b5d8d87d
4 changed files with 23 additions and 4 deletions

View File

@ -4318,8 +4318,9 @@ TABLE *select_create::create_table_from_items(THD *thd,
int
select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
select_create::prepare(List<Item> &_values, SELECT_LEX_UNIT *u)
{
List<Item> values(_values, thd->mem_root);
MYSQL_LOCK *extra_lock= NULL;
DBUG_ENTER("select_create::prepare");