summaryrefslogtreecommitdiff
path: root/mysql-test/suite/versioning/t/trx_id.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/versioning/t/trx_id.test')
-rw-r--r--mysql-test/suite/versioning/t/trx_id.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/versioning/t/trx_id.test b/mysql-test/suite/versioning/t/trx_id.test
index 216f2082bed..2e779e4160c 100644
--- a/mysql-test/suite/versioning/t/trx_id.test
+++ b/mysql-test/suite/versioning/t/trx_id.test
@@ -81,6 +81,10 @@ create or replace table t1 (
period for system_time (sys_start, sys_end)
) with system versioning;
+# MDEV-515 takes X-lock on the table for the first insert
+# So concurrent DML won't happen on the table
+INSERT INTO t1 VALUES(100);
+
set transaction isolation level read committed;
start transaction;
insert into t1 values (1);