Current Path : /usr/opt/mysql57/mysql-test/suite/innodb_fts/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/suite/innodb_fts/r/truncate.result |
# # Bug#25053705 - INVALID I/O ON TABLE AFTER TRUNCATE # CREATE TABLE t1 (a INT, d INT, b VARCHAR(198), c CHAR(158), FULLTEXT fts1(c,b), FULLTEXT fts2(c)); TRUNCATE TABLE t1; INSERT INTO t1 (a,d,b,c) VALUES ( '79795','6',repeat('uololoaroolccaaruolraloouuoocorrcorurlu','1'), repeat('orouculcaocuocloooolooloooaorlroclouulrrucclulalouaulrluorooaclllluuorc cuullucocraloracurooulrooauuar','1')); CREATE TABLE t2 (a INT, d INT, b VARCHAR(198), c CHAR(158), FULLTEXT fts1(c,b)); INSERT INTO t2 VALUES (1, 1, repeat('uololoaroolccaaruolraloouuoocorrcorurlu','1'), repeat('orouculcaocuocloooolooloooaorlroclouulrrucclulalouaulrluorooaclllluuorccuullucocraloracurooulrooauuar','1')); create procedure insert_t2(IN total int) begin declare i int default 1; while (i <= total) DO insert into t2 select * from t2; set i = i + 1; end while; end| CALL insert_t2(15); SET SESSION debug="+d,innodb_invalid_read_after_truncate"; INSERT INTO t1 (a,d,b,c) VALUES ( '7795','6',repeat('uololoaroolccaaruolraloouuoocorrcorurlu','1'), repeat('orouculcaocuocloooolooloooaorlroclouulrrucclulalouaulrluorooaclllluuorc cuullucocraloracurooulrooauuar','1')); SET SESSION debug="-d,innodb_invalid_read_after_truncate"; DROP PROCEDURE insert_t2; DROP TABLE t1; DROP TABLE t2;