Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cf31db18
Commit
cf31db18
authored
May 05, 2017
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test to be windows file system tollerant.
parent
a3e0a952
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
mysql-test/r/query_cache_innodb.result
mysql-test/r/query_cache_innodb.result
+14
-14
mysql-test/t/query_cache_innodb.test
mysql-test/t/query_cache_innodb.test
+12
-12
No files found.
mysql-test/r/query_cache_innodb.result
View file @
cf31db18
...
...
@@ -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#-`;
...
...
mysql-test/t/query_cache_innodb.test
View file @
cf31db18
...
...
@@ -30,26 +30,26 @@ select * from t2;
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
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
;
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$
Ї
`
;
insert
into
`t1$
ї
`
values
(
1
);
insert
into
`t2$
ї
`
values
(
1
,
1
);
select
*
from
`t2$
ї
`
;
show
status
like
"Qcache_queries_in_cache"
;
delete
from
`t1$
Ї
`
;
delete
from
`t1$
ї
`
;
show
status
like
"Qcache_queries_in_cache"
;
select
*
from
`t2$
Ї
`
;
select
*
from
`t2$
ї
`
;
optimize
table
`t2$
Ї
`
;
select
*
from
`t2$
Ї
`
;
optimize
table
`t2$
ї
`
;
select
*
from
`t2$
ї
`
;
use
test
;
drop
database
`testdatabase$
Ї
`
;
drop
database
`testdatabase$
ї
`
;
SET
NAMES
default
;
create
database
`#mysql50#-`
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment