mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +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:
@@ -1432,7 +1432,7 @@ int ha_commit_trans(THD *thd, bool all)
|
||||
|
||||
if (trx_end_id)
|
||||
{
|
||||
if (!use_transaction_registry)
|
||||
if (!TR_table::use_transaction_registry)
|
||||
{
|
||||
my_error(ER_VERS_TRT_IS_DISABLED, MYF(0));
|
||||
goto err;
|
||||
@@ -7517,7 +7517,7 @@ bool Vers_parse_info::check_sys_fields(const char *table_name,
|
||||
{
|
||||
if (found == check_unit)
|
||||
{
|
||||
if (found == VERS_TRX_ID && !use_transaction_registry)
|
||||
if (found == VERS_TRX_ID && !TR_table::use_transaction_registry)
|
||||
{
|
||||
my_error(ER_VERS_TRT_IS_DISABLED, MYF(0));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user