diff options
author | unknown <svoj@june.mysql.com> | 2007-03-02 14:17:55 +0400 |
---|---|---|
committer | unknown <svoj@june.mysql.com> | 2007-03-02 14:17:55 +0400 |
commit | d235a5595c176ebe4e43b8d248feabbdd9e48d7b (patch) | |
tree | 353ee67196d3da05469ae822c2225d68dd61cb45 /mysql-test | |
parent | 793a137ddd737cd98d8d33efe54bcc218fd60c3f (diff) | |
parent | d9dbd4caf4d8c53a4e66037fcd344e5c9b7d4f64 (diff) | |
download | mariadb-git-d235a5595c176ebe4e43b8d248feabbdd9e48d7b.tar.gz |
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/svoj/devel/mysql/BUG26238/mysql-5.1-engines
storage/myisam/mi_open.c:
Auto merged
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/heap.result | 7 | ||||
-rw-r--r-- | mysql-test/t/heap.test | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/heap.result b/mysql-test/r/heap.result index 29bdfcbef7a..ddf675e2f73 100644 --- a/mysql-test/r/heap.result +++ b/mysql-test/r/heap.result @@ -731,3 +731,10 @@ SELECT COUNT(*) FROM t1 WHERE c=REPEAT('a',256); COUNT(*) 2 DROP TABLE t1; +CREATE TABLE t1(c1 VARCHAR(100), c2 INT) ENGINE=MEMORY; +INSERT INTO t1 VALUES('', 0); +ALTER TABLE t1 MODIFY c1 VARCHAR(101); +SELECT c2 FROM t1; +c2 +0 +DROP TABLE t1; diff --git a/mysql-test/t/heap.test b/mysql-test/t/heap.test index 624597cd8d7..b47a5fc2033 100644 --- a/mysql-test/t/heap.test +++ b/mysql-test/t/heap.test @@ -471,3 +471,12 @@ SELECT COUNT(*) FROM t1 WHERE c=REPEAT('a',256); DROP TABLE t1; # End of 5.0 tests + +# +# BUG#26080 - Memory Storage engine not working properly +# +CREATE TABLE t1(c1 VARCHAR(100), c2 INT) ENGINE=MEMORY; +INSERT INTO t1 VALUES('', 0); +ALTER TABLE t1 MODIFY c1 VARCHAR(101); +SELECT c2 FROM t1; +DROP TABLE t1; |