Merging upstream version 16.4.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2426bb8908
commit
2e72f978c2
79 changed files with 72289 additions and 29264 deletions
|
@ -580,6 +580,7 @@ class TestExecutor(unittest.TestCase):
|
|||
("INTERVAL '1' week", datetime.timedelta(weeks=1)),
|
||||
("1 IN (1, 2, 3)", True),
|
||||
("1 IN (2, 3)", False),
|
||||
("1 IN (1)", True),
|
||||
("NULL IS NULL", True),
|
||||
("NULL IS NOT NULL", False),
|
||||
("NULL = NULL", None),
|
||||
|
@ -612,6 +613,8 @@ class TestExecutor(unittest.TestCase):
|
|||
("STRFTIME('%j', NULL)", None),
|
||||
("DATESTRTODATE('2022-01-01')", date(2022, 1, 1)),
|
||||
("TIMESTRTOTIME('2022-01-01')", datetime.datetime(2022, 1, 1)),
|
||||
("LEFT('12345', 3)", "123"),
|
||||
("RIGHT('12345', 3)", "345"),
|
||||
]:
|
||||
with self.subTest(sql):
|
||||
result = execute(f"SELECT {sql}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue