diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2015-04-22 10:14:11 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2015-04-22 13:59:18 +0200 |
commit | 8cbaafd22b145512cc91f7b512290320849e77bd (patch) | |
tree | 883256655c931a6bb940b7d7d67d5d985673d17c /sql/sql_delete.cc | |
parent | e428c809d7e2176834ed9889483643e4ef2c2c2b (diff) | |
download | mariadb-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.cc | 2 |
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); |