Commit 0890702
committed
fix(gdb): strip quote chars from schema in Model.TableFields
When performing cross-database JOINs with soft-delete, the schema name
parsed from `schema`.`table` format retains database-specific quote
characters. These quoted schema names break information_schema WHERE
clause queries in TableFields lookups.
Strip quote characters from usedSchema in Model.TableFields, matching
the existing unquoting pattern used for usedTable via
guessPrimaryTableName.
fixes gogf#47251 parent 6204c13 commit 0890702
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
0 commit comments