| Bug #32989 | MyODBC Crystal Reports can't connect to a tbl if a field name has a single quote | ||
|---|---|---|---|
| Submitted: | 5 Dec 2007 5:27 | Modified: | 14 Mar 19:43 |
| Reporter: | Eric MaLossi | ||
| Status: | Closed | ||
| Category: | Connector/ODBC | Severity: | S2 (Serious) |
| Version: | 3.51.22 | OS: | Microsoft Windows (xp2 sp2) |
| Assigned to: | Jess Balint | Target Version: | 3.51 |
| Tags: | crystal reports developer XI revision 1 | ||
| Triage: | D3 (Medium) | ||
[5 Dec 2007 5:27]
Eric MaLossi
[5 Dec 2007 5:28]
Eric MaLossi
ODBC trace
Attachment: SQL.LOG (application/octet-stream, text), 87.97 KiB.
[6 Dec 2007 22:40]
Elena Koyfman
crystal report sql statement truncates column name that is more then 20 characters. Due to this truncation, report shows an error message "...Unknown column". Is any fix for it in MySQL odbc connector?
[1 Feb 20:22]
Tonci Grgin
Works in odbcte32 with 5.0.54BK and 3.51.23: Get Data All: "foo.c1", "foo.foo's field" 1, "test" 1 row fetched from 2 columns.
[9 Feb 0:52]
Jess Balint
fix+test
Attachment: bug32989.diff (application/octet-stream, text), 7.38 KiB.
[9 Feb 0:55]
Jess Balint
Based on Jim's guidance, created a new method for escaping identifiers. When we send identifiers, they're always enclosed in backticks and thats the only character escaped. Fixed all occurrences where this was happening.
[29 Feb 18:14]
Lawrin Novitsky
patch approved
[11 Mar 15:00]
Jess Balint
Committed as rev1057. Will be released in 3.51.24.
[14 Mar 19:40]
MC Brown
A note has been added to the 3.51.24 changelog: Using tables with a single quote or other non-standard characters in the table or column names through ODBC would fail.
