• unknown's avatar
    Correction of WL#1567: row_count() is -1 following non-insert/update/delete · f3d691a9
    unknown authored
    statements.
    
    
    mysql-test/r/sp.result:
      Added row_count() test for non-insert/update/delete statement.
    mysql-test/t/sp.test:
      Added row_count() test for non-insert/update/delete statement.
    sql/sql_class.h:
      thd->row_count_func must be signed for JDBC/ODBC (can be -1).
    sql/sql_parse.cc:
      Reset thd->row_count_func to -1 for non-insert/update/delete statements.
    f3d691a9
sp.test 28 KB