Commit c94a5cc
fix(adapter): use per-adapter quote() in fast-path SQL strings
The hot-path bypasses in find/getDocument/count/sum embedded MariaDB
backtick literals (\`_uid\`, \`sum\`) directly into the SQL. Postgres
uses double-quoted identifiers and rejected every fast-path query
with a syntax error, breaking 595 Postgres tests. Route the column
quoting through \$this->quote() so each adapter emits its own dialect.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 01b0c6a commit c94a5cc
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
1549 | 1550 | | |
1550 | 1551 | | |
1551 | 1552 | | |
1552 | | - | |
| 1553 | + | |
1553 | 1554 | | |
1554 | 1555 | | |
1555 | 1556 | | |
| |||
1645 | 1646 | | |
1646 | 1647 | | |
1647 | 1648 | | |
1648 | | - | |
| 1649 | + | |
1649 | 1650 | | |
1650 | 1651 | | |
1651 | 1652 | | |
| |||
0 commit comments