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
cdad081f
Commit
cdad081f
authored
Feb 17, 2006
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.1-13883
into mysql.com:/home/jimw/my/mysql-5.1-clean
parents
bf0b7758
95f1b049
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
76 additions
and
71 deletions
+76
-71
mysql-test/r/alter_table.result
mysql-test/r/alter_table.result
+2
-2
mysql-test/r/archive_bitfield.result
mysql-test/r/archive_bitfield.result
+1
-1
mysql-test/r/create.result
mysql-test/r/create.result
+7
-7
mysql-test/r/ctype_tis620.result
mysql-test/r/ctype_tis620.result
+1
-1
mysql-test/r/gis-rtree.result
mysql-test/r/gis-rtree.result
+2
-2
mysql-test/r/index_merge_innodb.result
mysql-test/r/index_merge_innodb.result
+1
-1
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+1
-1
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+3
-3
mysql-test/r/key.result
mysql-test/r/key.result
+1
-1
mysql-test/r/merge.result
mysql-test/r/merge.result
+3
-3
mysql-test/r/partition.result
mysql-test/r/partition.result
+1
-1
mysql-test/r/partition_range.result
mysql-test/r/partition_range.result
+4
-4
mysql-test/r/rpl_mixed_ddl_dml.result
mysql-test/r/rpl_mixed_ddl_dml.result
+1
-1
mysql-test/r/rpl_multi_engine.result
mysql-test/r/rpl_multi_engine.result
+12
-12
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+3
-3
mysql-test/r/sql_mode.result
mysql-test/r/sql_mode.result
+8
-8
mysql-test/r/strict.result
mysql-test/r/strict.result
+2
-2
mysql-test/r/symlink.result
mysql-test/r/symlink.result
+3
-3
mysql-test/r/system_mysql_db.result
mysql-test/r/system_mysql_db.result
+9
-9
mysql-test/r/type_blob.result
mysql-test/r/type_blob.result
+1
-1
sql/sql_show.cc
sql/sql_show.cc
+10
-5
No files found.
mysql-test/r/alter_table.result
View file @
cdad081f
mysql-test/r/archive_bitfield.result
View file @
cdad081f
mysql-test/r/create.result
View file @
cdad081f
mysql-test/r/ctype_tis620.result
View file @
cdad081f
mysql-test/r/gis-rtree.result
View file @
cdad081f
mysql-test/r/index_merge_innodb.result
View file @
cdad081f
mysql-test/r/information_schema.result
View file @
cdad081f
mysql-test/r/innodb.result
View file @
cdad081f
mysql-test/r/key.result
View file @
cdad081f
mysql-test/r/merge.result
View file @
cdad081f
mysql-test/r/partition.result
View file @
cdad081f
mysql-test/r/partition_range.result
View file @
cdad081f
mysql-test/r/rpl_mixed_ddl_dml.result
View file @
cdad081f
mysql-test/r/rpl_multi_engine.result
View file @
cdad081f
mysql-test/r/show_check.result
View file @
cdad081f
mysql-test/r/sql_mode.result
View file @
cdad081f
mysql-test/r/strict.result
View file @
cdad081f
mysql-test/r/symlink.result
View file @
cdad081f
mysql-test/r/system_mysql_db.result
View file @
cdad081f
mysql-test/r/type_blob.result
View file @
cdad081f
sql/sql_show.cc
View file @
cdad081f
...
...
@@ -1058,14 +1058,19 @@ store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
if
(
i
==
primary_key
&&
!
strcmp
(
key_info
->
name
,
primary_key_name
))
{
found_primary
=
1
;
packet
->
append
(
STRING_WITH_LEN
(
"PRIMARY "
));
/*
No space at end, because a space will be added after where the
identifier would go, but that is not added for primary key.
*/
packet
->
append
(
STRING_WITH_LEN
(
"PRIMARY KEY"
));
}
else
if
(
key_info
->
flags
&
HA_NOSAME
)
packet
->
append
(
STRING_WITH_LEN
(
"UNIQUE "
));
packet
->
append
(
STRING_WITH_LEN
(
"UNIQUE
KEY
"
));
else
if
(
key_info
->
flags
&
HA_FULLTEXT
)
packet
->
append
(
STRING_WITH_LEN
(
"FULLTEXT "
));
packet
->
append
(
STRING_WITH_LEN
(
"FULLTEXT
KEY
"
));
else
if
(
key_info
->
flags
&
HA_SPATIAL
)
packet
->
append
(
STRING_WITH_LEN
(
"SPATIAL "
));
packet
->
append
(
STRING_WITH_LEN
(
"SPATIAL KEY "
));
else
packet
->
append
(
STRING_WITH_LEN
(
"KEY "
));
if
(
!
found_primary
)
...
...
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