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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d96a17ff
Commit
d96a17ff
authored
Mar 22, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index name can't be used as key name without space character
parent
ac44fe1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/heap.result
mysql-test/r/heap.result
+1
-1
mysql-test/t/heap.test
mysql-test/t/heap.test
+1
-1
No files found.
mysql-test/r/heap.result
View file @
d96a17ff
...
@@ -62,7 +62,7 @@ explain select * from t1 where a in (869751,736494,226312,802616);
...
@@ -62,7 +62,7 @@ explain select * from t1 where a in (869751,736494,226312,802616);
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1 range uniq_id uniq_id 4 NULL 4 where used; Using index
t1 range uniq_id uniq_id 4 NULL 4 where used; Using index
drop table t1;
drop table t1;
create table t1 (x int not null, y int not null, key x
(x), unique y
(y))
create table t1 (x int not null, y int not null, key x
(x), unique y
(y))
type=heap;
type=heap;
insert into t1 values (1,1),(2,2),(1,3),(2,4),(2,5),(2,6);
insert into t1 values (1,1),(2,2),(1,3),(2,4),(2,5),(2,6);
select * from t1 where x=1;
select * from t1 where x=1;
...
...
mysql-test/t/heap.test
View file @
d96a17ff
...
@@ -36,7 +36,7 @@ alter table t1 type=myisam;
...
@@ -36,7 +36,7 @@ alter table t1 type=myisam;
explain
select
*
from
t1
where
a
in
(
869751
,
736494
,
226312
,
802616
);
explain
select
*
from
t1
where
a
in
(
869751
,
736494
,
226312
,
802616
);
drop
table
t1
;
drop
table
t1
;
create
table
t1
(
x
int
not
null
,
y
int
not
null
,
key
x
(
x
),
unique
y
(
y
))
create
table
t1
(
x
int
not
null
,
y
int
not
null
,
key
x
(
x
),
unique
y
(
y
))
type
=
heap
;
type
=
heap
;
insert
into
t1
values
(
1
,
1
),(
2
,
2
),(
1
,
3
),(
2
,
4
),(
2
,
5
),(
2
,
6
);
insert
into
t1
values
(
1
,
1
),(
2
,
2
),(
1
,
3
),(
2
,
4
),(
2
,
5
),(
2
,
6
);
select
*
from
t1
where
x
=
1
;
select
*
from
t1
where
x
=
1
;
...
...
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