[MXS-4054] Expose query classifier information using std::string_view. Created: 2022-03-23 Updated: 2022-06-21 Resolved: 2022-06-03 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | QueryClassifier |
| Affects Version/s: | None |
| Fix Version/s: | 22.08.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-154, MXS-SPRINT-155, MXS-SPRINT-156, MXS-SPRINT-157, MXS-SPRINT-158 |
| Description |
|
Currently the query classifier explicitly allocates memory for storing fields, etc.. If instead, the canonical version of a query were stored then all field information could be made available as std::string_view, which would not require any memory to be allocated and would be faster. |