[MXS-1211] maxrows should be configurable to return error when limit has been exceeded Created: 2017-03-29 Updated: 2017-04-03 Resolved: 2017-03-31 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxrows |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.3 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Massimiliano Pinto (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It should be possible to configure maxrows to return an error when the maximum has been reached instead of a resultset of 0 rows. There should, for instance, be a configuration setting like: return=empty|error|ok with empty being the default. |
| Comments |
| Comment by Massimiliano Pinto (Inactive) [ 2017-03-30 ] |
|
Currently working on the new feature: MySQL [(none)]> select * from test.t4; Note: error message "ERROR 1415 (0A000): Row limit/size exceeded for query: " |
| Comment by Massimiliano Pinto (Inactive) [ 2017-03-30 ] |
|
New parameter for maxsrows filter: max_resultset_return=empty|error|ok 'err' will return an ERR reply with the input SQL statement |