Commit 7673c86c authored by unknown's avatar unknown

Added script to update reserved word list.

Updated reserved word list.


Docs/manual.texi:
  updated reserved word list
parent 20772da3
...@@ -28837,91 +28837,102 @@ A few are reserved because MySQL needs them and is ...@@ -28837,91 +28837,102 @@ A few are reserved because MySQL needs them and is
@c But remove the non alphanumeric entries by hand first. @c But remove the non alphanumeric entries by hand first.
@c Updated after 3.23.4 990928 by David @c Updated after 3.23.4 990928 by David
@c List reserved words updated for 4.0.x 011019 by Arjen. @c START_OF_RESERVED_WORDS
@c Note: UPPERCASE as per manual convention!
@multitable @columnfractions .25 .25 .25 .25 @multitable @columnfractions .25 .25 .25 .25
@item @code{ACTION} @tab @code{ADD} @tab @code{AFTER} @tab @code{AGAINST} @c Reserved word list updated Thu Oct 18 21:44:01 2001 by jcole.
@item @code{AGGREGATE} @tab @code{ALL} @tab @code{ALTER} @tab @code{ANALYZE} @c To regenerate, use Support/update-reserved-words.pl.
@item @code{AND} @tab @code{AS} @tab @code{ASC} @tab @code{AUTOCOMMIT}
@item @code{AUTO_INCREMENT} @tab @code{AVG} @tab @code{AVG_ROW_LENGTH} @tab @code{BACKUP} @item @code{ADD} @tab @code{ALL}
@item @code{BDB} @tab @code{BEGIN} @tab @code{BERKELEYDB} @tab @code{BETWEEN} @tab @code{ALTER} @tab @code{ANALYZE}
@item @code{BIGINT} @tab @code{BINARY} @tab @code{BINLOG} @tab @code{BIT} @item @code{AND} @tab @code{AS}
@item @code{BLOB} @tab @code{BOOL} @tab @code{BOOLEAN} @tab @code{BOTH} @tab @code{ASC} @tab @code{BETWEEN}
@item @code{BY} @tab @code{CASCADE} @tab @code{CASE} @tab @code{CHANGE} @item @code{BIGINT} @tab @code{BINARY}
@item @code{CHANGED} @tab @code{CHAR} @tab @code{CHARACTER} @tab @code{CHECK} @tab @code{BINLOG} @tab @code{BLOB}
@item @code{CHECKSUM} @tab @code{CIPHER} @tab @code{CLOSE} @tab @code{COLUMN} @item @code{BOTH} @tab @code{BY}
@item @code{COLUMNS} @tab @code{COMMENT} @tab @code{COMMIT} @tab @code{COMMITTED} @tab @code{CASCADE} @tab @code{CASE}
@item @code{COMPRESSED} @tab @code{CONCURRENT} @tab @code{CONSTRAINT} @tab @code{CREATE} @item @code{CHANGE} @tab @code{CHARACTER}
@item @code{CROSS} @tab @code{CURRENT_DATE} @tab @code{CURRENT_TIME} @tab @code{CURRENT_TIMESTAMP} @tab @code{COLUMN} @tab @code{CONSTRAINT}
@item @code{DATA} @tab @code{DATABASE} @tab @code{DATABASES} @tab @code{DATE} @item @code{CREATE} @tab @code{CROSS}
@item @code{DATETIME} @tab @code{DAY} @tab @code{DAY_HOUR} @tab @code{DAY_MINUTE} @tab @code{CURRENT_DATE} @tab @code{CURRENT_TIME}
@item @code{DAY_SECOND} @tab @code{DEC} @tab @code{DECIMAL} @tab @code{DEFAULT} @item @code{CURRENT_TIMESTAMP} @tab @code{DATABASE}
@item @code{DELAYED} @tab @code{DELAY_KEY_WRITE} @tab @code{DELETE} @tab @code{DESC} @tab @code{DATABASES} @tab @code{DAY_HOUR}
@item @code{DESCRIBE} @tab @code{DIRECTORY} @tab @code{DISABLE} @tab @code{DISTINCT} @item @code{DAY_MINUTE} @tab @code{DAY_SECOND}
@item @code{DISTINCTROW} @tab @code{DOUBLE} @tab @code{DROP} @tab @code{DUMPFILE} @tab @code{DECIMAL} @tab @code{DEFAULT}
@item @code{DYNAMIC} @tab @code{ELSE} @tab @code{ENABLE} @tab @code{ENCLOSED} @item @code{DELAYED} @tab @code{DELETE}
@item @code{END} @tab @code{ENUM} @tab @code{ESCAPE} @tab @code{ESCAPED} @tab @code{DESC} @tab @code{DISTINCTROW}
@item @code{EVENTS} @tab @code{EXISTS} @tab @code{EXPLAIN} @tab @code{EXTENDED} @item @code{DOUBLE} @tab @code{DROP}
@item @code{FAST} @tab @code{FIELDS} @tab @code{FILE} @tab @code{FIRST} @tab @code{ELSE} @tab @code{ENCLOSED}
@item @code{FIXED} @tab @code{FLOAT} @tab @code{FLOAT4} @tab @code{FLOAT8} @item @code{ESCAPED} @tab @code{EVENTS}
@item @code{FLUSH} @tab @code{FOR} @tab @code{FOREIGN} @tab @code{FROM} @tab @code{EXISTS} @tab @code{EXPLAIN}
@item @code{FULL} @tab @code{FULLTEXT} @tab @code{FUNCTION} @tab @code{GLOBAL} @item @code{FIELDS} @tab @code{FLOAT}
@item @code{GRANT} @tab @code{GRANTS} @tab @code{GROUP} @tab @code{HANDLER} @tab @code{FOR} @tab @code{FOREIGN}
@item @code{HAVING} @tab @code{HEAP} @tab @code{HIGH_PRIORITY} @tab @code{HOSTS} @item @code{FROM} @tab @code{FULLTEXT}
@item @code{HOUR} @tab @code{HOUR_MINUTE} @tab @code{HOUR_SECOND} @tab @code{IDENTIFIED} @tab @code{GRANT} @tab @code{GROUP}
@item @code{IF} @tab @code{IGNORE} @tab @code{IN} @tab @code{INDEX} @item @code{HAVING} @tab @code{HIGH_PRIORITY}
@item @code{INDEXES} @tab @code{INFILE} @tab @code{INNER} @tab @code{INNOBASE} @tab @code{HOUR_MINUTE} @tab @code{HOUR_SECOND}
@item @code{INNODB} @tab @code{INSERT} @tab @code{INSERT_ID} @tab @code{INSERT_METHOD} @item @code{IF} @tab @code{IGNORE}
@item @code{INT} @tab @code{INT1} @tab @code{INT2} @tab @code{INT3} @tab @code{IN} @tab @code{INDEX}
@item @code{INT4} @tab @code{INT8} @tab @code{INTEGER} @tab @code{INTERVAL} @item @code{INFILE} @tab @code{INNER}
@item @code{INTO} @tab @code{IS} @tab @code{ISAM} @tab @code{ISOLATION} @tab @code{INSERT} @tab @code{INSERT_ID}
@item @code{ISSUER} @tab @code{JOIN} @tab @code{KEY} @tab @code{KEYS} @item @code{INTEGER} @tab @code{INTERVAL}
@item @code{KILL} @tab @code{LAST} @tab @code{LAST_INSERT_ID} @tab @code{LEADING} @tab @code{INTO} @tab @code{IS}
@item @code{LEFT} @tab @code{LEVEL} @tab @code{LIKE} @tab @code{LIMIT} @item @code{JOIN} @tab @code{KEY}
@item @code{LINES} @tab @code{LOAD} @tab @code{LOCAL} @tab @code{LOCK} @tab @code{KEYS} @tab @code{KILL}
@item @code{LOCKS} @tab @code{LOGS} @tab @code{LONG} @tab @code{LONGBLOB} @item @code{LAST_INSERT_ID} @tab @code{LEADING}
@item @code{LONGTEXT} @tab @code{LOW_PRIORITY} @tab @code{MASTER} @tab @code{MASTER_CONNECT_RETRY} @tab @code{LEFT} @tab @code{LIKE}
@item @code{MASTER_HOST} @tab @code{MASTER_LOG_FILE} @tab @code{MASTER_LOG_POS} @tab @code{MASTER_LOG_SEQ} @item @code{LIMIT} @tab @code{LINES}
@item @code{MASTER_PASSWORD} @tab @code{MASTER_PORT} @tab @code{MASTER_SERVER_ID} @tab @code{MASTER_USER} @tab @code{LOAD} @tab @code{LOCK}
@item @code{MATCH} @tab @code{MAX_ROWS} @tab @code{MEDIUM} @tab @code{MEDIUMBLOB} @item @code{LONG} @tab @code{LONGBLOB}
@item @code{MEDIUMINT} @tab @code{MEDIUMTEXT} @tab @code{MERGE} @tab @code{MIDDLEINT} @tab @code{LONGTEXT} @tab @code{LOW_PRIORITY}
@item @code{MINUTE} @tab @code{MINUTE_SECOND} @tab @code{MIN_ROWS} @tab @code{MODE} @item @code{MASTER_LOG_SEQ} @tab @code{MASTER_SERVER_ID}
@item @code{MODIFY} @tab @code{MONTH} @tab @code{MRG_MYISAM} @tab @code{MYISAM} @tab @code{MATCH} @tab @code{MEDIUMBLOB}
@item @code{NATIONAL} @tab @code{NATURAL} @tab @code{NCHAR} @tab @code{NEW} @item @code{MEDIUMTEXT} @tab @code{MIDDLEINT}
@item @code{NEXT} @tab @code{NO} @tab @code{NOT} @tab @code{NULL} @tab @code{MINUTE_SECOND} @tab @code{NATURAL}
@item @code{NUMERIC} @tab @code{ON} @tab @code{OPEN} @tab @code{OPTIMIZE} @item @code{NOT} @tab @code{NULL}
@item @code{OPTION} @tab @code{OPTIONALLY} @tab @code{OR} @tab @code{ORDER} @tab @code{NUMERIC} @tab @code{ON}
@item @code{OUTER} @tab @code{OUTFILE} @tab @code{PACK_KEYS} @tab @code{PARTIAL} @item @code{OPTIMIZE} @tab @code{OPTION}
@item @code{PASSWORD} @tab @code{PRECISION} @tab @code{PREV} @tab @code{PRIMARY} @tab @code{OPTIONALLY} @tab @code{OR}
@item @code{PRIVILEGES} @tab @code{PROCEDURE} @tab @code{PROCESS} @tab @code{PROCESSLIST} @item @code{ORDER} @tab @code{OUTER}
@item @code{PURGE} @tab @code{QUICK} @tab @code{RAID0} @tab @code{RAID_CHUNKS} @tab @code{OUTFILE} @tab @code{PARTIAL}
@item @code{RAID_CHUNKSIZE} @tab @code{RAID_TYPE} @tab @code{READ} @tab @code{REAL} @item @code{PRECISION} @tab @code{PRIMARY}
@item @code{REFERENCES} @tab @code{REGEXP} @tab @code{RELOAD} @tab @code{RENAME} @tab @code{PRIVILEGES} @tab @code{PROCEDURE}
@item @code{REPAIR} @tab @code{REPEATABLE} @tab @code{REPLACE} @tab @code{REQUIRE} @item @code{PURGE} @tab @code{READ}
@item @code{RESET} @tab @code{RESTORE} @tab @code{RESTRICT} @tab @code{RETURNS} @tab @code{REAL} @tab @code{REFERENCES}
@item @code{REVOKE} @tab @code{RIGHT} @tab @code{RLIKE} @tab @code{ROLLBACK} @item @code{RENAME} @tab @code{REPLACE}
@item @code{ROW} @tab @code{ROWS} @tab @code{ROW_FORMAT} @tab @code{SECOND} @tab @code{REQUIRE} @tab @code{RESTRICT}
@item @code{SELECT} @tab @code{SERIALIZABLE} @tab @code{SESSION} @tab @code{SET} @item @code{RETURNS} @tab @code{REVOKE}
@item @code{SHARE} @tab @code{SHOW} @tab @code{SHUTDOWN} @tab @code{SLAVE} @tab @code{RIGHT} @tab @code{RLIKE}
@item @code{SMALLINT} @tab @code{SONAME} @tab @code{SQL_AUTO_IS_NULL} @tab @code{SQL_BIG_RESULT} @item @code{SELECT} @tab @code{SET}
@item @code{SQL_BIG_SELECTS} @tab @code{SQL_BIG_TABLES} @tab @code{SQL_BUFFER_RESULT} @tab @code{SQL_CALC_FOUND_ROWS} @tab @code{SHOW} @tab @code{SMALLINT}
@item @code{SQL_LOG_BIN} @tab @code{SQL_LOG_OFF} @tab @code{SQL_LOG_UPDATE} @tab @code{SQL_LOW_PRIORITY_UPDATES} @item @code{SONAME} @tab @code{SQL_AUTO_IS_NULL}
@item @code{SQL_MAX_JOIN_SIZE} @tab @code{SQL_QUOTE_SHOW_CREATE} @tab @code{SQL_SAFE_UPDATES} @tab @code{SQL_SELECT_LIMIT} @tab @code{SQL_BIG_RESULT} @tab @code{SQL_BIG_SELECTS}
@item @code{SQL_SLAVE_SKIP_COUNTER} @tab @code{SQL_SMALL_RESULT} @tab @code{SQL_WARNINGS} @tab @code{SSL} @item @code{SQL_BIG_TABLES} @tab @code{SQL_BUFFER_RESULT}
@item @code{START} @tab @code{STARTING} @tab @code{STATUS} @tab @code{STOP} @tab @code{SQL_CALC_FOUND_ROWS} @tab @code{SQL_LOG_BIN}
@item @code{STRAIGHT_JOIN} @tab @code{STRING} @tab @code{STRIPED} @tab @code{SUBJECT} @item @code{SQL_LOG_OFF} @tab @code{SQL_LOG_UPDATE}
@item @code{TABLE} @tab @code{TABLES} @tab @code{TEMPORARY} @tab @code{TERMINATED} @tab @code{SQL_LOW_PRIORITY_UPDATES} @tab @code{SQL_SAFE_UPDATES}
@item @code{TEXT} @tab @code{THEN} @tab @code{TIME} @tab @code{TIMESTAMP} @item @code{SQL_SELECT_LIMIT} @tab @code{SQL_SLAVE_SKIP_COUNTER}
@item @code{TINYBLOB} @tab @code{TINYINT} @tab @code{TINYTEXT} @tab @code{TO} @tab @code{SQL_SMALL_RESULT} @tab @code{SQL_WARNINGS}
@item @code{TRAILING} @tab @code{TRANSACTION} @tab @code{TRUNCATE} @tab @code{TYPE} @item @code{SSL} @tab @code{STARTING}
@item @code{UNCOMMITTED} @tab @code{UNION} @tab @code{UNIQUE} @tab @code{UNLOCK} @tab @code{STRAIGHT_JOIN} @tab @code{TABLE}
@item @code{UNSIGNED} @tab @code{UPDATE} @tab @code{USAGE} @tab @code{USE} @item @code{TABLES} @tab @code{TERMINATED}
@item @code{USING} @tab @code{VALUES} @tab @code{VARBINARY} @tab @code{VARCHAR} @tab @code{THEN} @tab @code{TINYBLOB}
@item @code{VARIABLES} @tab @code{VARYING} @tab @code{WHEN} @tab @code{WHERE} @item @code{TINYINT} @tab @code{TINYTEXT}
@item @code{WITH} @tab @code{WORK} @tab @code{WRITE} @tab @code{X509} @tab @code{TO} @tab @code{TRAILING}
@item @code{YEAR} @tab @code{YEAR_MONTH} @tab @code{ZEROFILL} @item @code{UNION} @tab @code{UNIQUE}
@tab @code{UNLOCK} @tab @code{UNSIGNED}
@item @code{UPDATE} @tab @code{USAGE}
@tab @code{USE} @tab @code{USING}
@item @code{VALUES} @tab @code{VARBINARY}
@tab @code{VARCHAR} @tab @code{VARYING}
@item @code{WHEN} @tab @code{WHERE}
@tab @code{WITH} @tab @code{WRITE}
@item @code{YEAR_MONTH} @tab @code{ZEROFILL}
@end multitable @end multitable
@c END_OF_RESERVED_WORDS
The following symbols (from the table above) are disallowed by ANSI SQL The following symbols (from the table above) are disallowed by ANSI SQL
but allowed by MySQL as column/table names. This is because some but allowed by MySQL as column/table names. This is because some
of these names are very natural names and a lot of people have already of these names are very natural names and a lot of people have already
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment