MXS-1211: maxrows should be configurable to return error when limit has been exceeded
New parameter added to maxsrows filter: max_resultset_return=empty|error|ok Default, 'empty' is to return an empty set, as the current implementation. 'err' will return an ERR reply with the input SQL statement 'ok' will return an OK packet
This commit is contained in:
@ -74,6 +74,7 @@ MXS_BEGIN_DECLS
|
||||
#define MYSQL_CHECKSUM_LEN 4
|
||||
#define MYSQL_EOF_PACKET_LEN 9
|
||||
#define MYSQL_OK_PACKET_MIN_LEN 11
|
||||
#define MYSQL_ERR_PACKET_MIN_LEN 9
|
||||
|
||||
/**
|
||||
* Offsets and sizes of various parts of the client packet. If the offset is
|
||||
|
Reference in New Issue
Block a user