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/sql_cmd.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/sql_cmd.h')
-rw-r--r-- | sql/sql_cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cmd.h b/sql/sql_cmd.h index 875dcf0e575..4ae9353d6ff 100644 --- a/sql/sql_cmd.h +++ b/sql/sql_cmd.h @@ -98,6 +98,7 @@ enum enum_sql_command { SQLCOM_EXECUTE_IMMEDIATE, SQLCOM_CREATE_SEQUENCE, SQLCOM_DROP_SEQUENCE, + SQLCOM_ALTER_SEQUENCE, /* When a command is added here, be sure it's also added in mysqld.cc |