Fixed a typo in the patch for bug 794890.

This commit is contained in:
Igor Babaev 2011-06-13 22:18:40 -07:00
parent 56eb6d7e69
commit 565b7feea8

View file

@ -512,7 +512,7 @@ bool mysql_derived_merge_for_insert(THD *thd, LEX *lex, TABLE_LIST *derived)
else else
{ {
if (thd->lex->sql_command == SQLCOM_UPDATE_MULTI || if (thd->lex->sql_command == SQLCOM_UPDATE_MULTI ||
thd->lex->sql_command != SQLCOM_DELETE_MULTI) thd->lex->sql_command == SQLCOM_DELETE_MULTI)
thd->save_prep_leaf_list= TRUE; thd->save_prep_leaf_list= TRUE;
if (!derived->merged_for_insert && mysql_derived_merge(thd, lex, derived)) if (!derived->merged_for_insert && mysql_derived_merge(thd, lex, derived))
return TRUE; return TRUE;