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:
@ -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;
|
||||
|
Reference in New Issue
Block a user