summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-06-22 20:23:53 +0300
committerheikki@hundin.mysql.fi <>2002-06-22 20:23:53 +0300
commit3dd3463f921940e63d3dc0338ea81336636c2e1f (patch)
treee34abb86fff16b59468b6b8d44d247e92aa82828 /sql/lex.h
parent7a2b5b750aa4d04b78555070aeeb3b295006d038 (diff)
downloadmariadb-git-3dd3463f921940e63d3dc0338ea81336636c2e1f.tar.gz
sql_yacc.yy, mysql_priv.h, lex.h:
Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/lex.h b/sql/lex.h
index 30fbf46e354..a242f751053 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -30,9 +30,9 @@
#endif
/*
-** Symbols are breaked in to separated arrays to allow fieldnames with
+** Symbols are broken into separated arrays to allow fieldnames with
** same name as functions
-** Theese are kept sorted for human lookup (the symbols are hashed)
+** These are kept sorted for human lookup (the symbols are hashed)
*/
static SYMBOL symbols[] = {
@@ -232,6 +232,7 @@ static SYMBOL symbols[] = {
{ "NCHAR", SYM(NCHAR_SYM),0,0},
{ "NUMERIC", SYM(NUMERIC_SYM),0,0},
{ "NO", SYM(NO_SYM),0,0},
+ { "NO_FOREIGN_KEY_CHECKS", SYM(NO_FOREIGN_KEY_CHECKS), 0, 0},
{ "NOT", SYM(NOT),0,0},
{ "NULL", SYM(NULL_SYM),0,0},
{ "ON", SYM(ON),0,0},
@@ -260,6 +261,7 @@ static SYMBOL symbols[] = {
{ "REFERENCES", SYM(REFERENCES),0,0},
{ "RELOAD", SYM(RELOAD),0,0},
{ "REGEXP", SYM(REGEXP),0,0},
+ { "RELAXED_UNIQUE_CHECKS", SYM(RELAXED_UNIQUE_CHECKS), 0, 0},
{ "RENAME", SYM(RENAME),0,0},
{ "REPAIR", SYM(REPAIR),0,0},
{ "REPLACE", SYM(REPLACE),0,0},