summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-11-27 14:13:31 +0400
committerAlexander Barkov <bar@mariadb.com>2018-11-27 14:21:19 +0400
commit19a6a018e8d370c8b82c71bdd63172453a8f754c (patch)
treede9ea11854d5a74a6dd9d4428d2f3e4fc064cdb7
parente963b0d12f93fd80906adb777781e9a563d705f8 (diff)
downloadmariadb-git-19a6a018e8d370c8b82c71bdd63172453a8f754c.tar.gz
MDEV-16705 Add two accessors for multi_delete class
-rw-r--r--sql/sql_class.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 55766af383d..1997add96dc 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -6114,6 +6114,10 @@ class multi_delete :public select_result_interceptor
bool error_handled;
public:
+ // Methods used by ColumnStore
+ uint get_num_of_tables() const { return num_of_tables; }
+ TABLE_LIST* get_tables() const { return delete_tables; }
+public:
multi_delete(THD *thd_arg, TABLE_LIST *dt, uint num_of_tables);
~multi_delete();
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);