mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bb-10.2-ext into 10.3
MDEV-11415 Remove excessive undo logging during ALTER TABLE…ALGORITHM=COPY Move a test from innodb.rename_table_debug to innodb.alter_copy. ha_innobase::extra(HA_EXTRA_BEGIN_ALTER_COPY): Register id-versioned tables so that mysql.transaction_registry will be updated, even for empty tables that are subjected to ALTER TABLE…ALGORITHM=COPY.
This commit is contained in:
@ -53,8 +53,8 @@ add column e bigint unsigned as row end,
|
||||
add period for system_time(s, e),
|
||||
add system versioning,
|
||||
algorithm=copy;
|
||||
select check_result(count(*) = @tmp) from mysql.transaction_registry;
|
||||
check_result(count(*) = @tmp)
|
||||
select check_result(count(*) = @tmp + 1) from mysql.transaction_registry;
|
||||
check_result(count(*) = @tmp + 1)
|
||||
[CORRECT]
|
||||
# TRX_ID to TIMESTAMP versioning switch
|
||||
create or replace table t1 (
|
||||
|
@ -57,8 +57,8 @@ alter table t1
|
||||
add period for system_time(s, e),
|
||||
add system versioning,
|
||||
algorithm=copy;
|
||||
select check_result(count(*) = @tmp) from mysql.transaction_registry;
|
||||
|
||||
# With MDEV-14511 the transaction will be registered even for empty tables.
|
||||
select check_result(count(*) = @tmp + 1) from mysql.transaction_registry;
|
||||
|
||||
--echo # TRX_ID to TIMESTAMP versioning switch
|
||||
create or replace table t1 (
|
||||
|
Reference in New Issue
Block a user