mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-14828 Server crashes in JOIN::prepare / setup_fields on 2nd execution of PS [fixes #437]
This commit is contained in:
@@ -7093,9 +7093,9 @@ bool Table_scope_and_contents_source_st::vers_fix_system_fields(
|
||||
DBUG_ASSERT(items);
|
||||
while (added--)
|
||||
{
|
||||
items->push_back(
|
||||
new (thd->mem_root) Item_default_value(thd, thd->lex->current_context()),
|
||||
thd->mem_root);
|
||||
Item_default_value *item= new (thd->mem_root)
|
||||
Item_default_value(thd, thd->lex->current_context());
|
||||
items->push_back(item, thd->mem_root);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user