mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
make values work in subquery
This commit is contained in:
parent
0467d7e11b
commit
34e05ef974
6 changed files with 79 additions and 34 deletions
19
testing/values.test
Executable file
19
testing/values.test
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env tclsh
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
|
||||
do_execsql_test values-1 {
|
||||
values(1, 2);
|
||||
} {1|2};
|
||||
|
||||
do_execsql_test values-2 {
|
||||
values(1, 2), (3, 4);
|
||||
} {1|2
|
||||
3|4};
|
||||
|
||||
do_execsql_test values-in-from {
|
||||
select * from (values(3, 4, 5), (5, 6, 7), (8, 9, 10));
|
||||
} {3|4|5
|
||||
5|6|7
|
||||
8|9|10};
|
Loading…
Add table
Add a link
Reference in a new issue