MXS-2512 Update error information in additional place
An error may be returned directly or as part of a result set. Both cases must be handled.
This commit is contained in:
@ -218,7 +218,6 @@ public:
|
||||
}
|
||||
|
||||
void process_packets(GWBUF* buffer);
|
||||
void process_reply_start(mxs::Buffer::iterator it);
|
||||
|
||||
// Controlled by the session
|
||||
ResponseStat& response_stat();
|
||||
@ -245,6 +244,10 @@ private:
|
||||
bool m_skip_next = false;
|
||||
Error m_error;
|
||||
|
||||
void process_reply_start(mxs::Buffer::iterator it, uint32_t len);
|
||||
|
||||
void update_error(mxs::Buffer::iterator it, uint32_t len);
|
||||
|
||||
inline bool is_opening_cursor() const
|
||||
{
|
||||
return m_opening_cursor;
|
||||
|
Reference in New Issue
Block a user