1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix test to be windows file system tollerant.

This commit is contained in:
Oleksandr Byelkin
2017-05-05 16:43:25 +02:00
parent a3e0a952f7
commit cf31db184e
2 changed files with 26 additions and 26 deletions

View File

@@ -30,32 +30,32 @@ select * from t2;
t2id id
drop table t2;
drop table t1;
create database `testdatabase$Ї`;
use `testdatabase$Ї`;
create table `t1$Ї` ( id int unsigned auto_increment, primary key(id) ) engine=innodb;
create table `t2$Ї` ( t2id int unsigned, id int unsigned, primary key(t2id, id), foreign key (`id`) references `t1$Ї`(`id`) on delete cascade ) engine=innodb;
insert into `t1$Ї` values (1);
insert into `t2$Ї`values (1,1);
select * from `t2$Ї`;
create database `testdatabase$ї`;
use `testdatabase$ї`;
create table `t1$ї` ( id int unsigned auto_increment, primary key(id) ) engine=innodb;
create table `t2$ї` ( t2id int unsigned, id int unsigned, primary key(t2id, id), foreign key (`id`) references `t1$ї`(`id`) on delete cascade ) engine=innodb;
insert into `t1$ї` values (1);
insert into `t2$ї`values (1,1);
select * from `t2$ї`;
t2id id
1 1
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 1
delete from `t1$Ї`;
delete from `t1$ї`;
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 0
select * from `t2$Ї`;
select * from `t2$ї`;
t2id id
optimize table `t2$Ї`;
optimize table `t2$ї`;
Table Op Msg_type Msg_text
testdatabase$Ї.t2$Ї optimize note Table does not support optimize, doing recreate + analyze instead
testdatabase$Ї.t2$Ї optimize status OK
select * from `t2$Ї`;
testdatabase$ї.t2$ї optimize note Table does not support optimize, doing recreate + analyze instead
testdatabase$ї.t2$ї optimize status OK
select * from `t2$ї`;
t2id id
use test;
drop database `testdatabase$Ї`;
drop database `testdatabase$ї`;
SET NAMES default;
create database `#mysql50#-`;
use `#mysql50#-`;