summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-06-20 14:48:04 -0700
committerunknown <jimw@mysql.com>2005-06-20 14:48:04 -0700
commite17de6ecb472e84c7f826f6ac77c236ce952b9a8 (patch)
treeb9b7868b414924df85d3f7ec56b707cbfbfa3223 /client
parentd73327e1996d172640d063b6ac22a0d21be26562 (diff)
parent30f67d70a10df99c68f7d6edae5ed0a3e8896fc4 (diff)
downloadmariadb-git-e17de6ecb472e84c7f826f6ac77c236ce952b9a8.tar.gz
Merge bk-internal:/home/bk/mysql-4.1
into mysql.com:/home/jimw/my/mysql-4.1-clean
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index b9b9b938da0..5454c76e720 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -989,7 +989,8 @@ static int read_lines(bool execute_commands)
a nil, it still needs the space in the linebuffer for it. This is,
naturally, undocumented.
*/
- } while (linebuffer[0] <= linebuffer[1] + 1);
+ } while ((unsigned char)linebuffer[0] <=
+ (unsigned char)linebuffer[1] + 1);
line= buffer.c_ptr();
#endif /* __NETWARE__ */
#else