[MXS-3143] FOUND_ROWS() not routed to previous target Created: 2020-08-28 Updated: 2020-08-28 Resolved: 2020-08-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | QueryClassifier |
| Affects Version/s: | 2.3.20 |
| Fix Version/s: | 2.3.21, 2.4.13, 2.5.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When a query with SQL_CALC_FOUND_ROWS is followed by a query with FOUND_ROWS, they should be routed to the same server. Any query that uses the FOUND_ROWS() function should be given the TARGET_LAST_USED route target type. |