summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2018-06-28 00:33:44 -0700
committerIgor Babaev <igor@askmonty.org>2018-06-28 00:36:50 -0700
commit090febbb2dedad764a4d9fdbc9216921dd27225f (patch)
treeed47de000eb321849727cc04530993cf73f8d762 /sql/table.h
parent377cd520643eba3dccc21336af582b170137d407 (diff)
downloadmariadb-git-090febbb2dedad764a4d9fdbc9216921dd27225f.tar.gz
This is another attempt to fix mdev-16473.
The previous correction of the patch for mdev-16473 did not work correctly for the databases whose names started with '*'. Added a test case with a database named "*".
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index c0cca1026ea..f5d504e39d8 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -2095,7 +2095,8 @@ struct TABLE_LIST
qualified name (<db_name>.<table_name>).
*/
bool is_fqtn;
-
+ /** TRUE if no default database is defined for the table name */
+ bool no_default_db;
/* TRUE <=> derived table should be filled right after optimization. */
bool fill_me;
/* TRUE <=> view/DT is merged. */