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:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user