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
8ca332d3
Commit
8ca332d3
authored
Nov 10, 2005
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.(none):/home/brian/mysql/show-5.1-new
parents
6375e03c
31cdb3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/sql_show.cc
sql/sql_show.cc
+6
-0
No files found.
sql/sql_show.cc
View file @
8ca332d3
...
@@ -57,6 +57,9 @@ bool mysqld_show_storage_engines(THD *thd)
...
@@ -57,6 +57,9 @@ bool mysqld_show_storage_engines(THD *thd)
field_list
.
push_back
(
new
Item_empty_string
(
"Engine"
,
10
));
field_list
.
push_back
(
new
Item_empty_string
(
"Engine"
,
10
));
field_list
.
push_back
(
new
Item_empty_string
(
"Support"
,
10
));
field_list
.
push_back
(
new
Item_empty_string
(
"Support"
,
10
));
field_list
.
push_back
(
new
Item_empty_string
(
"Comment"
,
80
));
field_list
.
push_back
(
new
Item_empty_string
(
"Comment"
,
80
));
field_list
.
push_back
(
new
Item_empty_string
(
"Transactions"
,
3
));
field_list
.
push_back
(
new
Item_empty_string
(
"XA"
,
3
));
field_list
.
push_back
(
new
Item_empty_string
(
"Savepoints"
,
3
));
if
(
protocol
->
send_fields
(
&
field_list
,
if
(
protocol
->
send_fields
(
&
field_list
,
Protocol
::
SEND_NUM_ROWS
|
Protocol
::
SEND_EOF
))
Protocol
::
SEND_NUM_ROWS
|
Protocol
::
SEND_EOF
))
...
@@ -77,6 +80,9 @@ bool mysqld_show_storage_engines(THD *thd)
...
@@ -77,6 +80,9 @@ bool mysqld_show_storage_engines(THD *thd)
option_name
=
"DEFAULT"
;
option_name
=
"DEFAULT"
;
protocol
->
store
(
option_name
,
system_charset_info
);
protocol
->
store
(
option_name
,
system_charset_info
);
protocol
->
store
((
*
types
)
->
comment
,
system_charset_info
);
protocol
->
store
((
*
types
)
->
comment
,
system_charset_info
);
protocol
->
store
((
*
types
)
->
commit
?
"YES"
:
"NO"
,
system_charset_info
);
protocol
->
store
((
*
types
)
->
prepare
?
"YES"
:
"NO"
,
system_charset_info
);
protocol
->
store
((
*
types
)
->
savepoint_set
?
"YES"
:
"NO"
,
system_charset_info
);
if
(
protocol
->
write
())
if
(
protocol
->
write
())
DBUG_RETURN
(
TRUE
);
DBUG_RETURN
(
TRUE
);
}
}
...
...
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