• Dmitry Shulga's avatar
    Fixed bug#57450 - mysql client enter in an infinite loop · 2f0ba4c3
    Dmitry Shulga authored
    if the standard input is a directory.
    
    The problem is that mysql monitor try to read from stdin without
    checking input source type.
    
    The solution is to stop reading data from standard input if a call
    to read(2) failed.
    
    A new test case was added into mysql.test.
    2f0ba4c3
my_readline.h 1.32 KB