[MDEV-15698] Spider ignores syntax errors in connection string in COMMENT field Created: 2018-03-27 Updated: 2020-08-25 Resolved: 2018-05-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | 10.2.15, 10.3.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Jacob Mathew (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | spider | ||
| Description |
|
Spider seems to ignore syntax errors in the connection string that it parses from the table's COMMENT field. e.g. if I do the following on the remote server:
And then the following on the Spider server:
Notice that there is a comma missing after "srv1" and before "table" in the COMMENT field. Regardless, Spider does not complain:
And when the table is queried, the resulting error doesn't make the problem obvious:
|
| Comments |
| Comment by Jacob Mathew (Inactive) [ 2018-04-14 ] |
|
Kentoku, please review my fix for this problem in commit eae4d1d on my branch. |
| Comment by Jacob Mathew (Inactive) [ 2018-05-02 ] |
|
As per the review comments, I have extended the new Spider infrastructure to include the parsing of UDF parameters, in addition to the parsing of connection information. Fix is pushed to 10.3 and 10.2. |