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:
@ -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
|
||||
|
Reference in New Issue
Block a user