summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/group_commit.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/group_commit.test')
-rw-r--r--mysql-test/suite/innodb/t/group_commit.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/group_commit.test b/mysql-test/suite/innodb/t/group_commit.test
index 692e06f38b8..3a2018bec5d 100644
--- a/mysql-test/suite/innodb/t/group_commit.test
+++ b/mysql-test/suite/innodb/t/group_commit.test
@@ -10,6 +10,9 @@
# to check some edge case for concurrency control.
CREATE TABLE t1 (a VARCHAR(10) PRIMARY KEY) ENGINE=innodb;
+# MDEV-515 takes X-lock on the table for the first insert.
+# So concurrent insert won't happen on the table
+INSERT INTO t1 VALUES(100);
SELECT variable_value INTO @commits FROM information_schema.global_status
WHERE variable_name = 'binlog_commits';