Commit 8f60656f authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-9039 Can't upgrade MariaDB to to 10.1.8 version from 10.0.21

Don't mark the SEQUENCE engine as XA-capable. The engine never
registers itself for any transaction, so it doesn't matter
whether it is XA-capable or not. The only effect of being
"XA-capable" is breaking the "number of XA-capable engines"
check of TC_LOG_MMAP.
parent a716433d
...@@ -3,7 +3,7 @@ ENGINE SEQUENCE ...@@ -3,7 +3,7 @@ ENGINE SEQUENCE
SUPPORT YES SUPPORT YES
COMMENT Generated tables filled with sequential values COMMENT Generated tables filled with sequential values
TRANSACTIONS YES TRANSACTIONS YES
XA YES XA NO
SAVEPOINTS YES SAVEPOINTS YES
set sql_quote_show_create=0; set sql_quote_show_create=0;
show create table seq_1_to_15_step_2; show create table seq_1_to_15_step_2;
......
...@@ -483,7 +483,7 @@ static int init(void *p) ...@@ -483,7 +483,7 @@ static int init(void *p)
hton->create= create_handler; hton->create= create_handler;
hton->discover_table= discover_table; hton->discover_table= discover_table;
hton->discover_table_existence= discover_table_existence; hton->discover_table_existence= discover_table_existence;
hton->commit= hton->rollback= hton->prepare= hton->commit= hton->rollback=
(int (*)(handlerton *, THD *, bool)) &dummy_ret_int; (int (*)(handlerton *, THD *, bool)) &dummy_ret_int;
hton->savepoint_set= hton->savepoint_rollback= hton->savepoint_release= hton->savepoint_set= hton->savepoint_rollback= hton->savepoint_release=
(int (*)(handlerton *, THD *, void *)) &dummy_ret_int; (int (*)(handlerton *, THD *, void *)) &dummy_ret_int;
......
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