1
0
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:
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

@@ -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;