Repository navigation
Commit b6433ac
fix(queries): route WITH-prefixed statements through the query path on MySQL/SQLite
MySQL and SQLite only allow WITH before read-only SELECT, yet both adapters
classified statements by prefix without WITH, so `WITH ... SELECT` fell into
the write branch: rusqlite's execute() rejects row-returning statements with
ExecuteReturnedResults, making CTE reads on SQLite hard-error.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <[email protected]>1 parent 29fc28a commit b6433ac
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
| 384 | + | |
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
| |||
0 commit comments