[MXS-1166] Recognize autocommit and transaction boundaries using regexes Created: 2017-03-06 Updated: 2017-03-22 Resolved: 2017-03-20 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Currently transaction begins and ends, and changes to the autocommit state are recognized using the parser. As parsing every statement is a relatively heavy operation it would be better if that were done using regexes so that the information were available always and without the cost of parsing every statement. |
| Comments |
| Comment by Johan Wikman [ 2017-03-20 ] |
|
Too hairy and not performant enough to recognize using regexes. |