Current Path : /home/usr.opt/mysql57/mysql-test/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 : //home/usr.opt/mysql57/mysql-test/r/partition_rename_longfilename.result |
DROP TABLE IF EXISTS t1, t2; CREATE TABLE t1 (a INT) PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (6), PARTITION `p1....................` VALUES LESS THAN (9), PARTITION p2 VALUES LESS THAN MAXVALUE); # List of files in database `test`, all original t1-files here t1#P#p0.ibd t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.ibd t1#P#p2.ibd t1.frm INSERT INTO t1 VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10); # Renaming to a file name where the first partition is 155 chars # and the second partition is 255 chars RENAME TABLE t1 TO `t2_............................end`; # List of files in database `test`, should not be any t1-files here # List of files in database `test`, should be all t2-files here t2_@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002eend#P#p0.ibd t2_@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002eend#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.ibd t2_@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002eend#P#p2.ibd t2_@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002eend.frm SELECT * FROM `t2_............................end`; a 1 10 2 3 4 5 6 7 8 9 RENAME TABLE `t2_............................end` to t1; # List of files in database `test`, should be all t1-files here t1#P#p0.ibd t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.ibd t1#P#p2.ibd t1.frm SELECT * FROM t1; a 1 10 2 3 4 5 6 7 8 9 DROP TABLE t1; # Should not be any files left here # End of bug#30102 test.