Fix a fuzzer failure and add tcl test covering the failure

This commit is contained in:
krishvishal 2025-03-25 11:43:51 +05:30
parent f12e3a6993
commit 785be8479f
2 changed files with 37 additions and 12 deletions

View file

@ -211,3 +211,7 @@ do_execsql_test select_shl_numeric_types {
SELECT 1.0 << 2;
SELECT 1.5 << 2;
} {4 4 4}
do execsql_test select_fuzz_failure_case {
SELECT (-9 << ((-6) << (9)) >> ((5)) % -10 - + - (-9));
}{-16}