mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mysql.com:/home/jimw/my/mysql-4.1-8497
into mysql.com:/home/jimw/my/mysql-4.1-clean sql/ha_heap.cc: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
1
mysql-test/t/temp_table-master.opt
Normal file
1
mysql-test/t/temp_table-master.opt
Normal file
@ -0,0 +1 @@
|
||||
--tmpdir=$MYSQL_TEST_DIR/var//tmp
|
@ -89,3 +89,12 @@ flush status;
|
||||
select * from t1 group by d;
|
||||
show status like "created_tmp%tables";
|
||||
drop table t1;
|
||||
|
||||
# Bug #8497: tmpdir with extra slashes would cause failures
|
||||
#
|
||||
create table t1 (a int, b int, index(a), index(b));
|
||||
create table t2 (c int auto_increment, d varchar(255), primary key (c));
|
||||
insert into t1 values (3,1),(3,2);
|
||||
insert into t2 values (NULL, 'foo'), (NULL, 'bar');
|
||||
select d, c from t1 left join t2 on b = c where a = 3 order by d;
|
||||
drop table t1, t2;
|
||||
|
Reference in New Issue
Block a user