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
af056dc5
Commit
af056dc5
authored
Oct 20, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
48863 followup: move an array declaration out from within if block
parent
ce786ab0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client/mysqltest.cc
client/mysqltest.cc
+1
-1
No files found.
client/mysqltest.cc
View file @
af056dc5
...
@@ -9781,6 +9781,7 @@ void free_pointer_array(POINTER_ARRAY *pa)
...
@@ -9781,6 +9781,7 @@ void free_pointer_array(POINTER_ARRAY *pa)
void
replace_dynstr_append_mem
(
DYNAMIC_STRING
*
ds
,
void
replace_dynstr_append_mem
(
DYNAMIC_STRING
*
ds
,
const
char
*
val
,
int
len
)
const
char
*
val
,
int
len
)
{
{
char
lower
[
512
];
#ifdef __WIN__
#ifdef __WIN__
fix_win_paths
(
val
,
len
);
fix_win_paths
(
val
,
len
);
#endif
#endif
...
@@ -9788,7 +9789,6 @@ void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
...
@@ -9788,7 +9789,6 @@ void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
if
(
display_result_lower
)
if
(
display_result_lower
)
{
{
/* Convert to lower case, and do this first */
/* Convert to lower case, and do this first */
char
lower
[
512
];
char
*
c
=
lower
;
char
*
c
=
lower
;
for
(
const
char
*
v
=
val
;
*
v
;
v
++
)
for
(
const
char
*
v
=
val
;
*
v
;
v
++
)
*
c
++=
my_tolower
(
charset_info
,
*
v
);
*
c
++=
my_tolower
(
charset_info
,
*
v
);
...
...
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