diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 11:30:50 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 11:30:50 +0200 |
commit | f73ada3722b9cd3624e9eac8d07f482baaa1f03b (patch) | |
tree | 2a14e62a83b61409e8e7ed69c497dd9223fd990e /client | |
parent | 6960db2dfdd90aa155bbc88cb802bdc697be4b9c (diff) | |
download | mariadb-git-f73ada3722b9cd3624e9eac8d07f482baaa1f03b.tar.gz |
48863 followup: move an array declaration out from within if block
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index ee03b796873..2bbb1c63724 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -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); |