[MDEV-28533] CONNECT engine does not quote columns involved in WHERE clause Created: 2022-05-10 Updated: 2022-09-26 Resolved: 2022-09-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.7.3, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.3.37, 10.4.27, 10.5.18, 10.6.11, 10.7.7, 10.8.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Trevor Gross | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine | ||
| Environment: |
10.7.3-MariaDB-1:10.7.3+maria~focal-log from docker image for both source and CONNECT servers. `dpkg -s mariadb-plugin-connect | grep Version` reports `Version: 1:10.7.3+maria~focal` for connect plugin |
||
| Description |
|
Hello, I have noticed that the connect engine does not properly quote columns in WHERE when the table type is MySQL. For example, issuing the following query against a CONNECT database:
will issue the following against the main server:
Note how the WHERE clause is unquoted, which raises a syntax error. |
| Comments |
| Comment by Alice Sherepa [ 2022-05-11 ] | |||||||||||
|
Thank you for the report!
|