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
ce8d4d39
Commit
ce8d4d39
authored
Sep 03, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: comment
parent
a5b0a32a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
sql/sql_show.cc
sql/sql_show.cc
+4
-13
No files found.
sql/sql_show.cc
View file @
ce8d4d39
...
@@ -106,8 +106,7 @@ static TYPELIB grant_types = { sizeof(grant_names)/sizeof(char **),
...
@@ -106,8 +106,7 @@ static TYPELIB grant_types = { sizeof(grant_names)/sizeof(char **),
/* Match the values of enum ha_choice */
/* Match the values of enum ha_choice */
static
const
char
*
ha_choice_values
[]
=
{
""
,
"0"
,
"1"
};
static
const
char
*
ha_choice_values
[]
=
{
""
,
"0"
,
"1"
};
static
void
store_key_options
(
THD
*
thd
,
String
*
packet
,
TABLE
*
table
,
static
void
store_key_options
(
THD
*
,
String
*
,
TABLE
*
,
KEY
*
);
KEY
*
key_info
);
#ifdef WITH_PARTITION_STORAGE_ENGINE
#ifdef WITH_PARTITION_STORAGE_ENGINE
static
void
get_cs_converted_string_value
(
THD
*
thd
,
static
void
get_cs_converted_string_value
(
THD
*
thd
,
...
@@ -2193,8 +2192,7 @@ static void store_key_options(THD *thd, String *packet, TABLE *table,
...
@@ -2193,8 +2192,7 @@ static void store_key_options(THD *thd, String *packet, TABLE *table,
}
}
void
void
view_store_options
(
THD
*
thd
,
TABLE_LIST
*
table
,
String
*
buff
)
view_store_options
(
THD
*
thd
,
TABLE_LIST
*
table
,
String
*
buff
)
{
{
if
(
table
->
algorithm
!=
VIEW_ALGORITHM_INHERIT
)
if
(
table
->
algorithm
!=
VIEW_ALGORITHM_INHERIT
)
{
{
...
@@ -2210,15 +2208,8 @@ view_store_options(THD *thd, TABLE_LIST *table, String *buff)
...
@@ -2210,15 +2208,8 @@ view_store_options(THD *thd, TABLE_LIST *table, String *buff)
}
}
/*
/**
Append DEFINER clause to the given buffer.
Returns ALGORITHM clause of a view
SYNOPSIS
append_definer()
thd [in] thread handle
buffer [inout] buffer to hold DEFINER clause
definer_user [in] user name part of definer
definer_host [in] host name part of definer
*/
*/
static
const
LEX_STRING
*
view_algorithm
(
TABLE_LIST
*
table
)
static
const
LEX_STRING
*
view_algorithm
(
TABLE_LIST
*
table
)
...
...
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