summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-09-03 19:56:24 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2004-09-03 19:56:24 +0400
commit164c5145fdd6f31a75f0dd2385e00035f1ed380a (patch)
tree4a017556fbdcac5a3c44b15e17a683dae86d2601 /client
parentc91fb136413030353b93ac41a7ef8430a6393509 (diff)
downloadmariadb-git-164c5145fdd6f31a75f0dd2385e00035f1ed380a.tar.gz
Fix for bug #4373: \u behaves differently
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index bca89b33b4f..0b43f9b80ec 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -2693,8 +2693,9 @@ char *get_arg(char *line, my_bool get_next_arg)
ptr++;
if (*ptr == '\\') // short command was used
ptr+= 2;
- while (*ptr &&!my_isspace(charset_info, *ptr)) // skip command
- ptr++;
+ else
+ while (*ptr &&!my_isspace(charset_info, *ptr)) // skip command
+ ptr++;
}
if (!*ptr)
return NullS;