summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/partition_binlog_stmt.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/partition_binlog_stmt.result')
-rw-r--r--mysql-test/main/partition_binlog_stmt.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/partition_binlog_stmt.result b/mysql-test/main/partition_binlog_stmt.result
new file mode 100644
index 00000000..5b9df742
--- /dev/null
+++ b/mysql-test/main/partition_binlog_stmt.result
@@ -0,0 +1,13 @@
+DROP TABLE IF EXISTS t1;
+#
+# Bug#51851: Server with SBR locks mutex twice on LOAD DATA into
+# partitioned MyISAM table
+CREATE TABLE t1
+(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
+name TINYBLOB NOT NULL,
+modified TIMESTAMP DEFAULT '0000-00-00 00:00:00',
+INDEX namelocs (name(255))) ENGINE = MyISAM
+PARTITION BY HASH(id) PARTITIONS 2;
+LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/init_file.txt'
+INTO TABLE t1 (name);
+DROP TABLE t1;