Commit 51c6f8eb authored by Luis Soares's avatar Luis Soares

BUG#59177: mysqlbinlog_row_big fails on Windows with out of memory

      
The test case fails with out of memory while updating a table
with several multi-megabytes sized rows. This can probably be too
exhausting for PB2 env.
      
The quick fix here is to reduce the size of the biggest
row (256MB) so that it becomes a little smaller (64MB).
parent e073e2c0
...@@ -36,8 +36,8 @@ c1 LONGTEXT ...@@ -36,8 +36,8 @@ c1 LONGTEXT
# #
# Insert some big rows. # Insert some big rows.
# #
256MB 64MB
INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 16777216)); INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 4194304));
affected rows: 1 affected rows: 1
32MB 32MB
INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 2097152)); INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 2097152));
...@@ -53,7 +53,7 @@ affected rows: 1 ...@@ -53,7 +53,7 @@ affected rows: 1
# Do not display the column value itself, just its length. # Do not display the column value itself, just its length.
# #
SELECT LENGTH(c1) FROM t1; SELECT LENGTH(c1) FROM t1;
LENGTH(c1) 268435456 LENGTH(c1) 67108864
LENGTH(c1) 33554432 LENGTH(c1) 33554432
LENGTH(c1) 4194304 LENGTH(c1) 4194304
LENGTH(c1) 524288 LENGTH(c1) 524288
...@@ -69,7 +69,7 @@ info: Rows matched: 4 Changed: 4 Warnings: 0 ...@@ -69,7 +69,7 @@ info: Rows matched: 4 Changed: 4 Warnings: 0
# Do not display the column value itself, just its length. # Do not display the column value itself, just its length.
# #
SELECT LENGTH(c1) FROM t1; SELECT LENGTH(c1) FROM t1;
LENGTH(c1) 536870912 LENGTH(c1) 134217728
LENGTH(c1) 1048576 LENGTH(c1) 1048576
LENGTH(c1) 67108864 LENGTH(c1) 67108864
LENGTH(c1) 8388608 LENGTH(c1) 8388608
......
...@@ -79,8 +79,8 @@ eval CREATE TABLE t1 ( ...@@ -79,8 +79,8 @@ eval CREATE TABLE t1 (
--echo # Insert some big rows. --echo # Insert some big rows.
--echo # --echo #
--echo 256MB --echo 64MB
INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 16777216)); INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 4194304));
--echo 32MB --echo 32MB
INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 2097152)); INSERT INTO t1 VALUES (REPEAT('ManyMegaByteBlck', 2097152));
......
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