mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17362: SIGSEGV in JOIN::optimize_inner or Assertion `fixed == 0' failed in Item_equal::fix_fields, server crashes after 2nd execution of PS
Move reinitialisation of pushdown variables for every query, because it used now not only for derived tables.
This commit is contained in:
@ -13463,8 +13463,10 @@ void JOIN::join_free()
|
||||
void JOIN::cleanup(bool full)
|
||||
{
|
||||
DBUG_ENTER("JOIN::cleanup");
|
||||
DBUG_PRINT("enter", ("full %u", (uint) full));
|
||||
|
||||
DBUG_PRINT("enter", ("select: %d (%p) join: %p full: %u",
|
||||
select_lex->select_number, select_lex, this,
|
||||
(uint) full));
|
||||
|
||||
if (full)
|
||||
have_query_plan= QEP_DELETED;
|
||||
|
||||
|
Reference in New Issue
Block a user