mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed BUG#4905: Stored procedure doesn't clear for "Rows affected".
mysql-test/r/sp.result: New test case for BUG#4905 mysql-test/t/sp.test: New test case for BUG#4905 sql/sql_parse.cc: Reset row count before CALL.
This commit is contained in:
@ -3724,6 +3724,7 @@ purposes internal to the MySQL server", MYF(0));
|
||||
select_limit= thd->variables.select_limit;
|
||||
thd->variables.select_limit= HA_POS_ERROR;
|
||||
|
||||
thd->row_count_func= 0;
|
||||
res= sp->execute_procedure(thd, &lex->value_list);
|
||||
|
||||
thd->variables.select_limit= select_limit;
|
||||
|
Reference in New Issue
Block a user