diff options
author | Monty <monty@mariadb.org> | 2017-05-08 02:44:55 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-05-08 02:44:55 +0300 |
commit | 71fa413c165e644f8f1433356f95fed12579fe3e (patch) | |
tree | f319474716dc55b3174fbf29a9dc510983d040a1 /sql/lex.h | |
parent | 1e04ad284c6ac0a9ce433f827bc6dbfbd6029007 (diff) | |
download | mariadb-git-71fa413c165e644f8f1433356f95fed12579fe3e.tar.gz |
MDEV-10139 Support for SEQUENCE objects
- SETVAL(sequence_name, next_value, is_used, round)
- ALTER SEQUENCE, including RESTART WITH
Other things:
- Added handler::extra() option HA_EXTRA_PREPARE_FOR_ALTER_TABLE to signal
ha_sequence() that it should allow write_row statments.
- ALTER ONLINE TABLE now works with SEQUENCE:s
Diffstat (limited to 'sql/lex.h')
-rw-r--r-- | sql/lex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h index e67b207a75d..f2dac95fce5 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -522,6 +522,7 @@ static SYMBOL symbols[] = { { "REQUIRE", SYM(REQUIRE_SYM)}, { "RESET", SYM(RESET_SYM)}, { "RESIGNAL", SYM(RESIGNAL_SYM)}, + { "RESTART", SYM(RESTART_SYM)}, { "RESTORE", SYM(RESTORE_SYM)}, { "RESTRICT", SYM(RESTRICT)}, { "RESUME", SYM(RESUME_SYM)}, @@ -562,6 +563,7 @@ static SYMBOL symbols[] = { { "SESSION", SYM(SESSION_SYM)}, { "SERVER", SYM(SERVER_SYM)}, { "SET", SYM(SET)}, + { "SETVAL", SYM(SETVAL_SYM)}, { "SHARE", SYM(SHARE_SYM)}, { "SHOW", SYM(SHOW)}, { "SHUTDOWN", SYM(SHUTDOWN)}, |