summaryrefslogtreecommitdiff
path: root/sql/ha_sequence.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-05-08 02:44:55 +0300
committerMonty <monty@mariadb.org>2017-05-08 02:44:55 +0300
commit71fa413c165e644f8f1433356f95fed12579fe3e (patch)
treef319474716dc55b3174fbf29a9dc510983d040a1 /sql/ha_sequence.h
parent1e04ad284c6ac0a9ce433f827bc6dbfbd6029007 (diff)
downloadmariadb-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/ha_sequence.h')
-rw-r--r--sql/ha_sequence.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/ha_sequence.h b/sql/ha_sequence.h
index 3aacd62c5cb..f753d038114 100644
--- a/sql/ha_sequence.h
+++ b/sql/ha_sequence.h
@@ -84,6 +84,10 @@ public:
int info(uint);
LEX_CSTRING *engine_name() { return hton_name(file->ht); }
int external_lock(THD *thd, int lock_type);
+ int extra(enum ha_extra_function operation);
+ /* For ALTER ONLINE TABLE */
+ bool check_if_incompatible_data(HA_CREATE_INFO *create_info,
+ uint table_changes);
/* Functions that are directly mapped to the underlying handler */
int rnd_init(bool scan)