• unknown's avatar
    Bug #32624 Error with multi queries in MySQL embedded server 5.1.22. · 1d062682
    unknown authored
    server status wasn't properly sent to the client after the error
    by the embedded server. Wasn't noticed before as one usually stopped
    retrieving results after he gets an error.
    
    
    libmysqld/lib_sql.cc:
      Bug #32624 Error with multi queries in MySQL embedded server 5.1.22.
      
      server status transferred to the client after errors
    sql/protocol.cc:
      Bug #32624 Error with multi queries in MySQL embedded server 5.1.22.
      
      set server status before net_send_error_packet() call as this
      function sends it to the client in the embedded server
    tests/mysql_client_test.c:
      Bug #32624 Error with multi queries in MySQL embedded server 5.1.22.
      
      testcase added
    1d062682
mysql_client_test.c 435 KB