Pekka Enberg
af6e9cd2c2
Merge 'Handle limit zero case in query plan emitter' from Preston Thorpe
closes #1190
Don't emit full query plan and open table if 0 `LIMIT`
```console
limbo> explain select * from t limit 0;
addr opcode p1 p2 p3 p4 p5 comment
---- ----------------- ---- ---- ---- ------------- -- -------
0 Init 0 2 0 0 Start at 2
1 Halt 0 0 0 0
2 Transaction 0 0 0 0 write=false
3 Goto 0 1 0 0
```
Surprisingly, sqlite will still emit the Open/Rewind/Column/etc, etc for
this case. Definitely feels super unnecessary.
Closes #1191
2025-03-27 08:59:54 +02:00
..
2025-03-24 13:17:57 +02:00
2025-03-24 22:48:07 -04:00
2025-02-10 21:58:34 -04:00
2025-03-24 22:48:07 -04:00
2025-03-24 15:09:18 +02:00
2025-03-25 17:13:31 +02:00
2025-03-26 20:31:04 +02:00
2025-03-26 15:33:05 -04:00
2025-03-26 20:31:04 +02:00
2025-02-09 13:44:39 -03:00
2025-01-28 14:55:38 -05:00
2025-03-25 14:17:31 +01:00
2025-03-05 14:07:48 +01:00
2025-03-17 10:23:58 +01:00
2025-03-24 09:17:40 +02:00
2025-01-28 14:55:38 -05:00
2025-03-25 11:15:16 +02:00
2025-02-11 09:03:36 -04:00
2025-02-06 13:40:34 +02:00
2024-12-24 18:04:30 +01:00
2025-03-06 18:27:41 +02:00
2025-03-26 18:11:44 +01:00
2025-03-24 20:21:09 -03:00