• andrey@example.com's avatar
    Fix for bug#23760 ROW_COUNT() and store procedure not owrking together · 9299fd67
    andrey@example.com authored
    The problem was that THD::row_count_func was zeroed too. It was zeroed
    as a fix for bug 4905 "Stored procedure doesn't clear for "Rows affected"
    However, the proper solution is not to zero, because THD::row_count_func has
    been set to -1 already in mysql_execute_command(), a later fix, which obsoletes
    the incorrect fix of #4095
    9299fd67
sp.test 139 KB