adjust options for logical fuzz test

This commit is contained in:
Nikita Sivukhin
2025-02-02 20:56:32 +04:00
parent c2950d144e
commit 17d06a1d28

View File

@@ -211,7 +211,7 @@ mod tests {
// unfortunatelly, sqlite behaves weirdly when IS operator is used with TRUE/FALSE constants
// e.g. 8 IS TRUE == 1 (although 8 = TRUE == 0)
// so, we do not use TRUE/FALSE constants as they will produce diff with sqlite results
.options_str(["1", "0", "NULL", "1.0", "1.5", "-0.5", "-1.0", "'x'"])
.options_str(["1", "0", "NULL", "2.0", "1.5", "-0.5", "-2.0", "(1 / 0)"])
.build();
let sql = g.create().concat(" ").push_str("SELECT").push(expr).build();