Addition to fix for
BUG#18036 - update of table joined to self reports table as crashed Set exclude_from_table_unique_test value back to FALSE. It is needed for further check in multi_update::prepare whether to use record cache. sql/sql_update.cc: Set exclude_from_table_unique_test value back to FALSE. It is needed for further check in multi_update::prepare whether to use record cache.
This commit is contained in:
parent
eeb29b5f70
commit
3ec84b1aca
@ -859,6 +859,11 @@ reopen_tables:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
Set exclude_from_table_unique_test value back to FALSE. It is needed for
|
||||||
|
further check in multi_update::prepare whether to use record cache.
|
||||||
|
*/
|
||||||
|
lex->select_lex.exclude_from_table_unique_test= FALSE;
|
||||||
|
|
||||||
if (thd->fill_derived_tables() &&
|
if (thd->fill_derived_tables() &&
|
||||||
mysql_handle_derived(lex, &mysql_derived_filling))
|
mysql_handle_derived(lex, &mysql_derived_filling))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user