diff options
author | unknown <acurtis@xiphis.org> | 2006-07-05 17:18:59 -0700 |
---|---|---|
committer | unknown <acurtis@xiphis.org> | 2006-07-05 17:18:59 -0700 |
commit | 854d7c4d4f5ccc110f65dd740e304a196428b3d6 (patch) | |
tree | 399f52e407d89318f0656e4e938b4f98d202ea6d /mysql-test/r/myisam.result | |
parent | 8fdac9c74b0dbd7f6c8fc073b1c0e69864840245 (diff) | |
download | mariadb-git-854d7c4d4f5ccc110f65dd740e304a196428b3d6.tar.gz |
Bug#8706
"temporary table with data directory option fails"
myisam should not use user-specified table name when creating
temporary tables and use generated connection specific real name.
Test included.
myisam/mi_create.c:
Bug#8706
When creating a temporary table with directory override, ensure that
the real filename is using the hidden temporary name otherwise
multiple clients cannot have same named temporary tables without
conflict.
mysql-test/r/myisam.result:
Bug#8706
Test for bug
mysql-test/t/myisam.test:
Bug#8706
Test for bug
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r-- | mysql-test/r/myisam.result | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result index cd1bc5c34e8..ce601944f97 100644 --- a/mysql-test/r/myisam.result +++ b/mysql-test/r/myisam.result @@ -769,3 +769,24 @@ a b xxxxxxxxx bbbbbb xxxxxxxxx bbbbbb DROP TABLE t1; +show create table t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `a` int(11) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +show create table t1; +Table Create Table +t1 CREATE TEMPORARY TABLE `t1` ( + `a` int(11) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +create table t1 (a int) engine=myisam select 42 a; +select * from t1; +a +9 +select * from t1; +a +99 +select * from t1; +a +42 +drop table t1; |