summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-10-14 14:19:15 +0500
committerunknown <bar@mysql.com>2005-10-14 14:19:15 +0500
commit9e3df6cc173bac95a5cbed45963bf3a577c7a9ab (patch)
tree3431d65df7ccc967f03d65007ed5a106b34e46b3 /client
parent344a892b8d65fbcf09126e0570bf040eaf083b1d (diff)
downloadmariadb-git-9e3df6cc173bac95a5cbed45963bf3a577c7a9ab.tar.gz
mysql.cc:
After merge fix. client/mysql.cc: After merge fix.
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 989e2dae3ef..3882b61b9ad 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1193,16 +1193,16 @@ static bool add_line(String &buffer,char *line,char *in_string,
#ifdef USE_MB
int length;
if (use_mb(charset_info) &&
- (lenght= my_ismbchar(charset_info, pos, end_of_line)))
+ (length= my_ismbchar(charset_info, pos, end_of_line)))
{
if (!*ml_comment)
{
- while (lenght--)
+ while (length--)
*out++ = *pos++;
pos--;
}
else
- pos+= lenght - 1;
+ pos+= length - 1;
continue;
}
#endif