summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-06-28 12:36:32 +0200
committerSergei Golubchik <serg@mariadb.org>2018-06-28 12:38:53 +0200
commit52a25d7b674464013b7749a366b0879929985a1e (patch)
tree03aee2320340856a879392629041811eb4d0b0ef /sql/sql_lex.h
parent090febbb2dedad764a4d9fdbc9216921dd27225f (diff)
downloadmariadb-git-52a25d7b674464013b7749a366b0879929985a1e.tar.gz
MDEV-16473 WITH statement throws 'no database selected' error
Different fix, just use NULL, not no_db,
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index ae010a88e46..a1f6b202ae6 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -156,8 +156,6 @@ struct LEX_TYPE
extern const LEX_STRING null_lex_str;
extern const LEX_STRING empty_lex_str;
-extern const char *no_db;
-
enum enum_sp_suid_behaviour
{
SP_IS_DEFAULT_SUID= 0,