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
d48c95f1
Commit
d48c95f1
authored
Jul 07, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/bug11635/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
3ddd2771
deb22599
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+15
-0
mysql-test/t/show_check.test
mysql-test/t/show_check.test
+9
-0
No files found.
mysql-test/r/show_check.result
View file @
d48c95f1
...
@@ -497,3 +497,18 @@ def STATISTICS COMMENT Comment 253 16 0 Y 0 0 63
...
@@ -497,3 +497,18 @@ def STATISTICS COMMENT Comment 253 16 0 Y 0 0 63
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
t1 0 PRIMARY 1 field1 A 0 1000 NULL BTREE
t1 0 PRIMARY 1 field1 A 0 1000 NULL BTREE
drop table t1;
drop table t1;
create table t1 (
c1 int NOT NULL,
c2 int NOT NULL,
PRIMARY KEY USING HASH (c1),
INDEX USING BTREE(c2)
);
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` int(11) NOT NULL,
`c2` int(11) NOT NULL,
PRIMARY KEY USING HASH (`c1`),
KEY `c2` USING BTREE (`c2`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1;
mysql-test/t/show_check.test
View file @
d48c95f1
...
@@ -376,3 +376,12 @@ show index from t1;
...
@@ -376,3 +376,12 @@ show index from t1;
--
disable_metadata
--
disable_metadata
drop
table
t1
;
drop
table
t1
;
# Test for BUG#11635: mysqldump exports TYPE instead of USING for HASH
create
table
t1
(
c1
int
NOT
NULL
,
c2
int
NOT
NULL
,
PRIMARY
KEY
USING
HASH
(
c1
),
INDEX
USING
BTREE
(
c2
)
);
SHOW
CREATE
TABLE
t1
;
DROP
TABLE
t1
;
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