• Sergei Golubchik's avatar
    MDEV-12660 inconsistent mysql_stmt_close · a8773ef3
    Sergei Golubchik authored
    remove dead code: this "return rc" could've never happened,
    because reset_stmt_handle can only possibly fail if RESET_SERVER
    flag is used.
    
    But this "return rc" was confusing, it was under DBUG_ENTER (while
    not being DBUG_RETURN) and it was skipping required stmt cleanup
    at the end of the function.
    a8773ef3
libmysql.c 136 KB