[MXS-1730] Column alias named "engine" without backticks returns an error Created: 2018-03-21 Updated: 2018-03-21 Resolved: 2018-03-21 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | qc_sqlite |
| Affects Version/s: | 2.2.3 |
| Fix Version/s: | 2.1.16, 2.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexandr Hacicheant | Assignee: | Johan Wikman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Described query with using alias named engine without using backticks (``) does not work:
But this one works:
Both of this queries successful work in MariaDB 10.2 Add. information:
MaxScale logs:
|
| Comments |
| Comment by markus makela [ 2018-03-21 ] | |||||||
|
Can you give the error that MaxScale returns? Just tested this with 2.2.3 and a docker-compose setup of four 10.2 servers and it works. | |||||||
| Comment by markus makela [ 2018-03-21 ] | |||||||
|
OK, so it's about the dbfwfilter. I've added the affected component to it. If possible, please add the firewall rules you used. | |||||||
| Comment by Alexandr Hacicheant [ 2018-03-21 ] | |||||||
|
Sure, I've updated the issue.
Rules file contains:
| |||||||
| Comment by Johan Wikman [ 2018-03-21 ] | |||||||
|
The problem was in the query classifier. The word ENGINE was treated as a registered keyword and not just as a keyword. |