Debian Codegraph @

mysql-test/suite/stress/t/misc.test

raw
1 --echo #
2 --echo # MDEV-22339 - Assertion `str_length < len' failed in
3 --echo # Binary_string::realloc_raw
4 --echo #
5 CREATE TABLE t1(a INT) ENGINE=MyISAM;
6 connect con1, localhost, root;
7 let $i=1000;
8 disable_query_log;
9 disable_result_log;
10 while ($i)
11 {
12 connection default;
13 HANDLER t1 OPEN;
14 send SELECT * FROM t1, t1 t1a1over8, t1 t1a2over8, t1 t1a3over8, t1 t1a4over8, t1 t1a5over8, t1 t1a6over8;
15
16 connection con1;
17 send REPAIR TABLE t1;
18
19 connection default;
20 reap;
21 HANDLER t1 CLOSE;
22
23 connection con1;
24 reap;
25 dec $i;
26 }
27 enable_query_log;
28 enable_result_log;
29 disconnect con1;
30
31 connection default;
32 DROP TABLE t1;