Skip to content

Commit 2d25384

Browse files
committed
fix parse_values relying on all dbs having boolean literals
1 parent 82f1ba8 commit 2d25384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sqlparser_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6464,7 +6464,7 @@ fn parse_values() {
64646464
verified_stmt("SELECT * FROM (VALUES (1), (2), (3))");
64656465
verified_stmt("SELECT * FROM (VALUES (1), (2), (3)), (VALUES (1, 2, 3))");
64666466
verified_stmt("SELECT * FROM (VALUES (1)) UNION VALUES (1)");
6467-
verified_stmt("SELECT * FROM (VALUES ROW(1, true, 'a'), ROW(2, false, 'b')) AS t (a, b, c)");
6467+
verified_stmt("SELECT * FROM (VALUES ROW(1, NULL, 'a'), ROW(2, NULL, 'b')) AS t (a, b, c)");
64686468
}
64696469

64706470
#[test]

0 commit comments

Comments
 (0)