summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-04-22 10:14:11 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2015-04-22 13:59:18 +0200
commit8cbaafd22b145512cc91f7b512290320849e77bd (patch)
tree883256655c931a6bb940b7d7d67d5d985673d17c /sql/sql_delete.cc
parente428c809d7e2176834ed9889483643e4ef2c2c2b (diff)
downloadmariadb-git-8cbaafd22b145512cc91f7b512290320849e77bd.tar.gz
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.
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
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);