summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-27 09:40:52 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-10 22:27:40 +0200
commit8f15bf9d0c0bc1bb8be2218411ae862a4903ae31 (patch)
treee890f20b7cfad244878ff722b0ea86c6d636ea30 /sql/sql_parse.cc
parent2fae1b576dd844edfbf6c6477bd6c25e8d1c6332 (diff)
downloadmariadb-git-8f15bf9d0c0bc1bb8be2218411ae862a4903ae31.tar.gz
cleanup: remove hidden I_S.VARIABLES and I_S.STATUS tables
their only purpose was to distinguish between SHOW and SELECT and there are cleaner ways of doing it.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 584d6fcbfa2..262301b21da 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2125,8 +2125,6 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
case SCH_TABLE_STATS:
case SCH_INDEX_STATS:
case SCH_OPEN_TABLES:
- case SCH_VARIABLES:
- case SCH_STATUS:
case SCH_PROCEDURES:
case SCH_CHARSETS:
case SCH_ENGINES: