diff --git a/storage/sequence/mysql-test/sequence/simple.result b/storage/sequence/mysql-test/sequence/simple.result index 8ce4722aeff03..ea94e91b1baf0 100644 --- a/storage/sequence/mysql-test/sequence/simple.result +++ b/storage/sequence/mysql-test/sequence/simple.result @@ -3,7 +3,7 @@ ENGINE SEQUENCE SUPPORT YES COMMENT Generated tables filled with sequential values TRANSACTIONS YES -XA YES +XA NO SAVEPOINTS YES set sql_quote_show_create=0; show create table seq_1_to_15_step_2; diff --git a/storage/sequence/sequence.cc b/storage/sequence/sequence.cc index 36ccebfa86f05..7b20615b15fdf 100644 --- a/storage/sequence/sequence.cc +++ b/storage/sequence/sequence.cc @@ -483,7 +483,7 @@ static int init(void *p) hton->create= create_handler; hton->discover_table= discover_table; hton->discover_table_existence= discover_table_existence; - hton->commit= hton->rollback= hton->prepare= + hton->commit= hton->rollback= (int (*)(handlerton *, THD *, bool)) &dummy_ret_int; hton->savepoint_set= hton->savepoint_rollback= hton->savepoint_release= (int (*)(handlerton *, THD *, void *)) &dummy_ret_int;