summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2018-04-03 12:41:13 +0000
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-08-25 17:03:20 +0300
commitd526679efd108478cc2af07578a15434fb46ed85 (patch)
tree0551593e16f022706d78d480cc5c0a099959c2ac /sql/sql_parse.cc
parent7f73f5e4e5bdae80561ff2596f5142965397a1b1 (diff)
downloadmariadb-git-d526679efd108478cc2af07578a15434fb46ed85.tar.gz
MDEV-14474 information_schema.check_constraints
Implement according to standard SQL specification 2008. The check_constraints table is used for fetching metadata about the constraints defined for tables in all databases.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index c1ec9ff94e6..c68e91bbef3 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2565,6 +2565,7 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
case SCH_TABLE_NAMES:
case SCH_TABLES:
+ case SCH_CHECK_CONSTRAINTS:
case SCH_VIEWS:
case SCH_TRIGGERS:
case SCH_EVENTS: