• konstantin@mysql.com's avatar
    A fix and test case for Bug#7990 "mysql_stmt_close doesn't · 4b2b327d
    konstantin@mysql.com authored
    reset mysql->net.last_error": the solution is to clear
    MYSQL->net error before performing COM_CLOSE: if the call
    succeeds, the connection is usable for other statements.
    More comprehensive fix is to clear MYSQL->net for all
    recoverable errors at the time they happen, it will be
    implemented in 5.0 as it introduces incompatibility in behavior.
    4b2b327d
mysql_client_test.c 304 KB