1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix handling of command-line on Windows, missed as part of earlier

commit. (Bug #10840)


client/mysql.cc:
  Add cast of unsigned value stored in signed char
This commit is contained in:
unknown
2005-06-20 18:54:45 +02:00
parent 6de6d3ad5c
commit 7b24dad470

View File

@ -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