Commit b7ed1ee1 authored by Luis Soares's avatar Luis Soares

BUG#50018: binlog corruption when table has many columns

Small fix in the test case. Changed the UNLOCK tables 
to happen after each insert.
parent eca472f4
...@@ -290,6 +290,7 @@ for my $i (1..$ntables) ...@@ -290,6 +290,7 @@ for my $i (1..$ntables)
print FILE "LOCK TABLES t$i WRITE;\n"; print FILE "LOCK TABLES t$i WRITE;\n";
print FILE "INSERT INTO t$i(c". ($base_ncols+1) . ") VALUES (50018);\n"; print FILE "INSERT INTO t$i(c". ($base_ncols+1) . ") VALUES (50018);\n";
print FILE "UNLOCK TABLES;";
} }
close(FILE); close(FILE);
...@@ -301,7 +302,6 @@ EOF ...@@ -301,7 +302,6 @@ EOF
## may want to reactivate query logging ## may want to reactivate query logging
-- disable_query_log -- disable_query_log
-- source $generated_sql -- source $generated_sql
UNLOCK TABLES;
-- enable_query_log -- enable_query_log
-- sync_slave_with_master -- sync_slave_with_master
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment