summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisam.result
diff options
context:
space:
mode:
authorAshish Agarwal <ashish.y.agarwal@oracle.com>2012-02-02 14:25:43 +0530
committerAshish Agarwal <ashish.y.agarwal@oracle.com>2012-02-02 14:25:43 +0530
commita076427ffd95d23790e07fe1ab38cbc735f8c713 (patch)
treecdbaa9d23bba63b58288f9678ad335c99c60c900 /mysql-test/r/myisam.result
parent07c0e405bfcb6fa59ff7a0c5d3990cc346c52f6e (diff)
parent4e096d2a456a93c61ad3da3163a2386b9c1d8317 (diff)
downloadmariadb-git-a076427ffd95d23790e07fe1ab38cbc735f8c713.tar.gz
BUG#11756869: Merge from mysql-5.1 to mysql-5.5
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r--mysql-test/r/myisam.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result
index dfad082845f..63a991bb87c 100644
--- a/mysql-test/r/myisam.result
+++ b/mysql-test/r/myisam.result
@@ -2438,6 +2438,19 @@ Table Op Msg_type Msg_text
test.t1 check status OK
DROP TABLE t1;
SET GLOBAL myisam_use_mmap=default;
+#
+# BUG 11756869 - 48848: MYISAMCHK DOING SORT RECOVER IN CERTAIN
+# CASES RESETS DATA POINTER TO SMAL
+#
+CREATE TABLE t1(a INT, KEY(a));
+ALTER TABLE t1 DISABLE KEYS;
+SET @before:= (SELECT MAX_DATA_LENGTH FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1' AND TABLE_SCHEMA='test');
+FLUSH TABLES;
+SET @after:= (SELECT MAX_DATA_LENGTH FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1' AND TABLE_SCHEMA='test');
+SELECT @before=@after;
+@before=@after
+1
+DROP TABLE t1;
End of 5.1 tests
#
# Bug#51327 MyISAM table is automatically repaired on ALTER