mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
we are hard coding `EXPLAIN` for debugging ```sh turso> EXPLAIN SELECT 1; EXPLAIN SELECT 1; addr opcode p1 p2 p3 p4 p5 comment ---- ----------------- ---- ---- ---- ------------- -- ------- 0 Init 0 3 0 0 Start at 3 1 ResultRow 1 1 0 0 output=r[1] 2 Halt 0 0 0 0 3 Integer 1 1 0 0 r[1]=1 4 Goto 0 1 0 0 ``` ```sh sqlite> EXPLAIN SELECT 1; EXPLAIN SELECT 1; addr opcode p1 p2 p3 p4 p5 comment ---- ------------- ---- ---- ---- ------------- -- ------------- 0 Init 0 4 0 0 Start at 4 1 Integer 1 1 0 0 r[1]=1 2 ResultRow 1 1 0 0 output=r[1] 3 Halt 0 0 0 0 4 Goto 0 1 0 0 addr opcode p1 p2 p3 p4 p5 comment ---- ------------- ---- ---- ---- ------------- -- ------------- 0 Init 0 4 0 0 Start at 4 1 Integer 1 1 0 0 r[1]=1 2 ResultRow 1 1 0 0 output=r[1] 3 Halt 0 0 0 0 4 Goto 0 1 0 0 ``` Closes #3005