diff options
author | Ashish Agarwal <ashish.y.agarwal@oracle.com> | 2012-02-02 14:25:43 +0530 |
---|---|---|
committer | Ashish Agarwal <ashish.y.agarwal@oracle.com> | 2012-02-02 14:25:43 +0530 |
commit | a076427ffd95d23790e07fe1ab38cbc735f8c713 (patch) | |
tree | cdbaa9d23bba63b58288f9678ad335c99c60c900 /mysql-test/t/myisam.test | |
parent | 07c0e405bfcb6fa59ff7a0c5d3990cc346c52f6e (diff) | |
parent | 4e096d2a456a93c61ad3da3163a2386b9c1d8317 (diff) | |
download | mariadb-git-a076427ffd95d23790e07fe1ab38cbc735f8c713.tar.gz |
BUG#11756869: Merge from mysql-5.1 to mysql-5.5
Diffstat (limited to 'mysql-test/t/myisam.test')
-rw-r--r-- | mysql-test/t/myisam.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test index 8c9f51b1252..369d7c17a83 100644 --- a/mysql-test/t/myisam.test +++ b/mysql-test/t/myisam.test @@ -1665,6 +1665,20 @@ CHECK TABLE t1; DROP TABLE t1; SET GLOBAL myisam_use_mmap=default; +--echo # +--echo # BUG 11756869 - 48848: MYISAMCHK DOING SORT RECOVER IN CERTAIN +--echo # CASES RESETS DATA POINTER TO SMAL +--echo # +CREATE TABLE t1(a INT, KEY(a)); +ALTER TABLE t1 DISABLE KEYS; +let $MYSQLD_DATADIR= `select @@datadir`; +SET @before:= (SELECT MAX_DATA_LENGTH FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1' AND TABLE_SCHEMA='test'); +FLUSH TABLES; +--replace_result $MYSQLD_DATADIR MYSQLD_DATADIR +--exec $MYISAMCHK -sn $MYSQLD_DATADIR/test/t1 +SET @after:= (SELECT MAX_DATA_LENGTH FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1' AND TABLE_SCHEMA='test'); +SELECT @before=@after; +DROP TABLE t1; --echo End of 5.1 tests |