mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
1. on windows: don't hang when there's no console, that is, _getch() returns -1. 2. on windows: _getch() returns an int, not char. to distinguish between (char)255 and (int)-1 3. everywhere. isspace(pos[-1]) == ' ' never worked, isspace() returns a boolean, not a char. the never-worked loop was removed to preserve the existing behavior.
5.2 KiB
5.2 KiB