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
d281faf9
Commit
d281faf9
authored
Aug 27, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: sql_show.cc
parent
d508ef78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
sql/sql_show.cc
sql/sql_show.cc
+0
-11
No files found.
sql/sql_show.cc
View file @
d281faf9
...
...
@@ -2900,7 +2900,6 @@ void remove_status_vars(SHOW_VAR *list)
}
static
bool
show_status_array
(
THD
*
thd
,
const
char
*
wild
,
SHOW_VAR
*
variables
,
enum
enum_var_type
value_type
,
...
...
@@ -2915,7 +2914,6 @@ static bool show_status_array(THD *thd, const char *wild,
/* the variable name should not be longer than 64 characters */
char
name_buffer
[
64
];
int
len
;
LEX_STRING
null_lex_str
;
SHOW_VAR
tmp
,
*
var
;
enum_check_fields
save_count_cuted_fields
=
thd
->
count_cuted_fields
;
bool
res
=
FALSE
;
...
...
@@ -2923,8 +2921,6 @@ static bool show_status_array(THD *thd, const char *wild,
DBUG_ENTER
(
"show_status_array"
);
thd
->
count_cuted_fields
=
CHECK_FIELD_WARN
;
null_lex_str
.
str
=
0
;
// For sys_var->value_ptr()
null_lex_str
.
length
=
0
;
prefix_end
=
strnmov
(
name_buffer
,
prefix
,
sizeof
(
name_buffer
)
-
1
);
if
(
*
prefix
)
...
...
@@ -3095,13 +3091,6 @@ static bool show_status_array(THD *thd, const char *wild,
if
(
!
(
pos
=
*
(
char
**
)
value
))
pos
=
""
;
DBUG_EXECUTE_IF
(
"alter_server_version_str"
,
if
(
!
my_strcasecmp
(
system_charset_info
,
variables
->
name
,
"version"
))
{
pos
=
"some-other-version"
;
});
end
=
strend
(
pos
);
break
;
}
...
...
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