diff options
author | Sergey Vojtovich <svoj@sun.com> | 2010-02-12 16:47:43 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2010-02-12 16:47:43 +0400 |
commit | 8aeafbd53f36643ffcc16901b32670f084aab60e (patch) | |
tree | 47bf6c83f4e1be567e256ff020d261040311c3f6 /mysql-test/t/myisam.test | |
parent | 6bc7d3830b319b7458934ffde04f662baab2dd48 (diff) | |
parent | 9d0c1ce535b57d97cb41dfca47aa33608c38b62d (diff) | |
download | mariadb-git-8aeafbd53f36643ffcc16901b32670f084aab60e.tar.gz |
Merge fix for BUG48438 to mysql-5.1-bugteam.
Diffstat (limited to 'mysql-test/t/myisam.test')
-rw-r--r-- | mysql-test/t/myisam.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test index 568eadb5e39..d12dbce1cc1 100644 --- a/mysql-test/t/myisam.test +++ b/mysql-test/t/myisam.test @@ -1198,6 +1198,17 @@ CHECKSUM TABLE t1 EXTENDED; DROP TABLE t1; +--echo # +--echo # BUG#48438 - crash with error in unioned query against merge table and view... +--echo # +SET GLOBAL table_open_cache=3; +CREATE TABLE t1(a INT); +SELECT 1 FROM t1 AS a1, t1 AS a2, t1 AS a3, t1 AS a4 FOR UPDATE; +SELECT TABLE_ROWS, DATA_LENGTH FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1'; +DROP TABLE t1; +SET GLOBAL table_open_cache=DEFAULT; + --echo End of 5.0 tests |