Merging upstream version 10.5.10.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
8588db6332
commit
4d496b7a6a
43 changed files with 1384 additions and 356 deletions
|
@ -481,11 +481,11 @@ class TestExecutor(unittest.TestCase):
|
|||
|
||||
def test_static_queries(self):
|
||||
for sql, cols, rows in [
|
||||
("SELECT 1", ["_col_0"], [(1,)]),
|
||||
("SELECT 1", ["1"], [(1,)]),
|
||||
("SELECT 1 + 2 AS x", ["x"], [(3,)]),
|
||||
("SELECT CONCAT('a', 'b') AS x", ["x"], [("ab",)]),
|
||||
("SELECT 1 AS x, 2 AS y", ["x", "y"], [(1, 2)]),
|
||||
("SELECT 'foo' LIMIT 1", ["_col_0"], [("foo",)]),
|
||||
("SELECT 'foo' LIMIT 1", ["foo"], [("foo",)]),
|
||||
(
|
||||
"SELECT SUM(x), COUNT(x) FROM (SELECT 1 AS x WHERE FALSE)",
|
||||
["_col_0", "_col_1"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue