diff options
author | jimw@mysql.com <> | 2005-06-20 18:54:45 +0200 |
---|---|---|
committer | jimw@mysql.com <> | 2005-06-20 18:54:45 +0200 |
commit | 5381e186731e75958a6fa80d9f8f46c19702db88 (patch) | |
tree | 16c3f054fc71eea8bb538799331c4d49f04ac00f /client | |
parent | 9b3d0b85a3c372ac7ac8be0cbec859cba8f13a57 (diff) | |
download | mariadb-git-5381e186731e75958a6fa80d9f8f46c19702db88.tar.gz |
Fix handling of command-line on Windows, missed as part of earlier
commit. (Bug #10840)
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 3 |
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 |