1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fixed BUG#12379: PROCEDURE with HANDLER calling FUNCTION with error

get strange result
  according to Monty's suggestions, fixing the SELECT behaviour on errors
  with SP handlers. Note that some warnings from SELECT still shows up when
  the handler has caught - this is an effect of another known bug (BUG#7049).
This commit is contained in:
pem@mysql.com
2005-09-13 15:32:42 +02:00
parent 54560d506b
commit b145ca0694
4 changed files with 144 additions and 2 deletions

View File

@@ -1658,12 +1658,14 @@ public:
class select_send :public select_result {
int status;
public:
select_send() {}
select_send() :status(0) {}
bool send_fields(List<Item> &list, uint flags);
bool send_data(List<Item> &items);
bool send_eof();
bool simple_select() { return 1; }
void abort();
};