1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

remove "Transaction-based system versioning is EXPERIMENTAL" warning

and the system_versioning_transaction_registry variable.
The user enables transaction registry by specifying BIGINT for
row_start/row_end columns.

check mysql.transaction_registry structure on the first open,
not on startup. Avoid warnings unless transaction_registry
is actually used.
This commit is contained in:
Sergei Golubchik
2018-01-10 16:12:24 +01:00
parent 7e1738c3c4
commit a544f920e3
21 changed files with 22 additions and 174 deletions

View File

@ -7609,7 +7609,7 @@ static bool mysql_inplace_alter_table(THD *thd,
ulonglong trx_end_id= table->file->ht->prepare_commit_versioned(thd, &trx_start_id);
if (trx_end_id)
{
if (!use_transaction_registry)
if (!TR_table::use_transaction_registry)
{
my_error(ER_VERS_TRT_IS_DISABLED, MYF(0));
goto rollback;