From 8cbaafd22b145512cc91f7b512290320849e77bd Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Wed, 22 Apr 2015 10:14:11 +0200 Subject: MDEV-8018: main.multi_update fails with --ps-protocol save_prep_leaf_tables() made recursive to work with underlying view Arena restoiring fixed in case of EOM. --- sql/sql_delete.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_delete.cc') diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 055b4858598..5b233cde7c7 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -610,7 +610,7 @@ int mysql_multi_delete_prepare(THD *thd) */ lex->select_lex.exclude_from_table_unique_test= FALSE; - if (lex->select_lex.save_prep_leaf_tables(thd)) + if (lex->save_prep_leaf_tables()) DBUG_RETURN(TRUE); DBUG_RETURN(FALSE); -- cgit v1.2.1