mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01: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:
parent
ebc009c9b3
commit
5ae7b3c996
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue