mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
![]() Fixing stuff that appears in Fuzz testing. # Before <img width="668" alt="image" src="https://github.com/user- attachments/assets/f1f59b63-5173-4932-98b2-774803cb8a8e" /> ``` limbo> EXPLAIN SELECT -x''; addr opcode p1 p2 p3 p4 p5 comment ---- ----------------- ---- ---- ---- ------------- -- ------- 0 Init 0 5 0 0 Start at 5 1 Blob 0 2 0 0 r[2]= (len=0) 2 Multiply 3 2 1 0 r[1]=r[3]*r[2] 3 ResultRow 1 1 0 0 output=r[1] 4 Halt 0 0 0 0 5 Integer -1 3 0 0 r[3]=-1 6 Goto 0 1 0 0 ``` # After <img width="175" alt="image" src="https://github.com/user- attachments/assets/9f361dc3-b243-4d69-bdd2-d6a2bbc0bf20" /> ``` limbo> EXPLAIN SELECT -x''; addr opcode p1 p2 p3 p4 p5 comment ---- ----------------- ---- ---- ---- ------------- -- ------- 0 Init 0 5 0 0 Start at 5 1 Blob 0 2 0 0 r[2]= (len=0) 2 Subtract 3 2 1 0 r[1]=r[3]-r[2] 3 ResultRow 1 1 0 0 output=r[1] 4 Halt 0 0 0 0 5 Integer 0 3 0 0 r[3]=0 6 Goto 0 1 0 0 ``` # Sqlite ``` sqlite> SELECT -x''; 0 sqlite> EXPLAIN SELECT -x''; addr opcode p1 p2 p3 p4 p5 comment ---- ------------- ---- ---- ---- ------------- -- ------------- 0 Init 0 4 0 0 Start at 4 1 Subtract 3 2 1 0 r[1]=r[2]-r[3] 2 ResultRow 1 1 0 0 output=r[1] 3 Halt 0 0 0 0 4 Integer 0 2 0 0 r[2]=0 5 Blob 0 3 0 0 r[3]= (len=0) 6 Goto 0 1 0 0 ``` Closes #1333 |
||
---|---|---|
.. | ||
cli_tests | ||
test_files | ||
wal | ||
agg-functions.test | ||
all.test | ||
boolean.test | ||
changes.test | ||
cmdlineshell.test | ||
coalesce.test | ||
compare.test | ||
concat.test | ||
default_value.test | ||
delete.test | ||
drop_table.test | ||
gen-database.py | ||
glob.test | ||
groupby.test | ||
insert.test | ||
join.test | ||
json.test | ||
like.test | ||
math.test | ||
offset.test | ||
orderby.test | ||
pragma.test | ||
scalar-functions-datetime.test | ||
scalar-functions-printf.test | ||
scalar-functions.test | ||
select.test | ||
subquery.test | ||
tester.tcl | ||
testing.db | ||
testing_norowidalias.db | ||
testing_small.db | ||
testing_small.db-wal | ||
testing_user_version_10.db | ||
time.test | ||
total-changes.test | ||
transactions.test | ||
update.test | ||
vector.test | ||
where.test |