mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-09 03:04:20 +01:00
SQLite special-cases `LIMIT 0` by emitting an explicit `Goto` to avoid executing any `ResultRow` statements. We, however, hacked around this in DecrJumpZero but also the placement of the generated instruction. Let's follow SQLite codegen here. We still need to fix `LIMIT 0`, though.