summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2010-10-20 11:22:08 +0200
committerBjorn Munch <bjorn.munch@oracle.com>2010-10-20 11:22:08 +0200
commit6960db2dfdd90aa155bbc88cb802bdc697be4b9c (patch)
treea3dc251e6d1581b27888336ea7b10efa036c4d2a /client/mysqltest.cc
parent05062d579a81ce9378560bee573f5769a94c579a (diff)
downloadmariadb-git-6960db2dfdd90aa155bbc88cb802bdc697be4b9c.tar.gz
Bug #52019 main.mysqltest fails on new tests for lowercase_result
Limited to actual bug fix, fixing a while condition Again confirmed on Linux PPC and on AIX 5.3
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r--client/mysqltest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 53c1f1bdf85..ee03b796873 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -5742,7 +5742,7 @@ int read_line(char *buf, int size)
{
/* It was not a multiline char, push back the characters */
/* We leave first 'c', i.e. pretend it was a normal char */
- while (p > mb_start)
+ while (p-1 > mb_start)
my_ungetc(*--p);
}
}