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
987a1281
Commit
987a1281
authored
Nov 29, 2000
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_show.cc FULLEXT comment in SHOW KEYS
sql/sql_show.cc: FULLEXT comment in SHOW KEYS
parent
ef2356d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/sql_show.cc
sql/sql_show.cc
+3
-3
No files found.
sql/sql_show.cc
View file @
987a1281
...
...
@@ -603,7 +603,7 @@ mysqld_show_keys(THD *thd, TABLE_LIST *table_list)
else
net_store_null
(
packet
);
net_store_null
(
packet
);
// No pack_information yet
net_store_
null
(
packet
);
// No comments yet
net_store_
data
(
packet
,
key_info
->
flags
&
HA_FULLTEXT
?
"FULLTEXT"
:
""
);
if
(
my_net_write
(
&
thd
->
net
,(
char
*
)
packet
->
ptr
(),
packet
->
length
()))
DBUG_RETURN
(
1
);
/* purecov: inspected */
}
...
...
@@ -719,7 +719,7 @@ store_create_info(THD *thd, TABLE *table, String *packet)
field
->
sql_type
(
type
);
packet
->
append
(
type
.
ptr
(),
type
.
length
());
bool
has_default
=
(
field
->
type
()
!=
FIELD_TYPE_BLOB
&&
bool
has_default
=
(
field
->
type
()
!=
FIELD_TYPE_BLOB
&&
field
->
type
()
!=
FIELD_TYPE_TIMESTAMP
&&
field
->
unireg_check
!=
Field
::
NEXT_NUMBER
);
if
(
flags
&
NOT_NULL_FLAG
)
...
...
@@ -822,7 +822,7 @@ store_create_info(THD *thd, TABLE *table, String *packet)
packet
->
append
(
" DELAY_KEY_WRITE=1"
,
18
);
if
(
table
->
comment
)
{
packet
->
append
(
" COMMENT='"
,
10
);
packet
->
append
(
" COMMENT='"
,
10
);
append_unescaped
(
packet
,
table
->
comment
);
packet
->
append
(
'\''
);
}
...
...
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