mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
BUG#50018: binlog corruption when table has many columns
Small fix in the test case. Changed the UNLOCK tables to happen after each insert.
This commit is contained in:
@@ -290,6 +290,7 @@ for my $i (1..$ntables)
|
||||
|
||||
print FILE "LOCK TABLES t$i WRITE;\n";
|
||||
print FILE "INSERT INTO t$i(c". ($base_ncols+1) . ") VALUES (50018);\n";
|
||||
print FILE "UNLOCK TABLES;";
|
||||
}
|
||||
|
||||
close(FILE);
|
||||
@@ -301,7 +302,6 @@ EOF
|
||||
## may want to reactivate query logging
|
||||
-- disable_query_log
|
||||
-- source $generated_sql
|
||||
UNLOCK TABLES;
|
||||
-- enable_query_log
|
||||
|
||||
-- sync_slave_with_master
|
||||
|
||||
Reference in New Issue
Block a user