mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
48863 followup: move an array declaration out from within if block
This commit is contained in:
parent
6960db2dfd
commit
f73ada3722
1 changed files with 1 additions and 1 deletions
|
|
@ -9781,6 +9781,7 @@ void free_pointer_array(POINTER_ARRAY *pa)
|
|||
void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
|
||||
const char *val, int len)
|
||||
{
|
||||
char lower[512];
|
||||
#ifdef __WIN__
|
||||
fix_win_paths(val, len);
|
||||
#endif
|
||||
|
|
@ -9788,7 +9789,6 @@ void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
|
|||
if (display_result_lower)
|
||||
{
|
||||
/* Convert to lower case, and do this first */
|
||||
char lower[512];
|
||||
char *c= lower;
|
||||
for (const char *v= val; *v; v++)
|
||||
*c++= my_tolower(charset_info, *v);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue