• gkodinov/kgeorge@magare.gmz's avatar
    Bug #29469: Client dies if a query is issued after hitting Ctrl + C · 7735a2f2
    gkodinov/kgeorge@magare.gmz authored
    The Ctrl-C handler in mysql closes the console while ReadConsole()
    waits for console input.
    But the main thread was detecting that ReadConsole() haven't read 
    anything and was processing as if there're data in the buffer.
    Fixed to handle correctly this error condition.
    No test case added as the test relies on Ctrl-C sent to the client
    from its console.
    7735a2f2
my_conio.c 5.61 KB