mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 17:05:36 +01:00
Fix remainder panic on zero right-hand-side
This commit is contained in:
@@ -159,4 +159,9 @@ do_execsql_test select-like-expression {
|
||||
|
||||
do_execsql_test select-not-like-expression {
|
||||
select 'bar' not like 'bar%'
|
||||
} {0}
|
||||
} {0}
|
||||
|
||||
# regression test for float divisor being cast to zero int and panicking
|
||||
do_execsql_test select-like-expression {
|
||||
select 2 % 0.5
|
||||
} {}
|
||||
|
||||
Reference in New Issue
Block a user