• Kristofer Pettersson's avatar
    Bug#37274 client 'status' command doesn't print all info after losing connection to · 5899e13a
    Kristofer Pettersson authored
              server
    
    If the server connection was lost during repeated status commands,
    the client would fail to detect this and the client output would be inconsistent.
    
    This patch fixes this issue by making sure that the server is online
    before the client attempts to execute the status command.
    
    
    client/mysql.cc:
      * Replace variable "connected" with a call to mysql_real_query_for_lazy()
        will attempt to reconnect to server on if there is a failure.
    5899e13a
mysql.cc 135 KB