ColNameNode removed, a bit more powerfull inserts etc
BEWARE insert into t (i) values(1+1) WILL FAIL - it is not "1" "+" "1" but "1" "+1"
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -139,8 +139,9 @@ int main(int argc, char *argv[]) {
|
||||
// "select ticker, dimension, calendar_date, eps, dps from sf1 where (ticker = 'AIG' or ticker = 'WFC') and dimension = 'MRY' order by 3 desc",
|
||||
"create table a (i integer not null, s varchar(64), f float null, d date null, b boolean)",
|
||||
"insert into a (i, s, b) values(1, upper('one'), 'Y')",
|
||||
"select i, s from a where i < to_date('20.12.1973', '%d.%m.%Y')",
|
||||
// xxxxxxxx "select i+2, s, b from a where i >=1 order by 1 desc offset 0 limit 1",
|
||||
"insert into a (i, s, b) values(1 + 10000, upper('one'), 'Y')",
|
||||
// "select to_string(i, '%d.%m.%Y %H:%M:%S'), i, s from a where i < to_date('20.12.2019', '%d.%m.%Y')",
|
||||
"select i + 2, s, b from a where i >=1 order by 1 desc offset 0 limit 1",
|
||||
// "update table a set s = 'null string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'",
|
||||
"update table a set i = null",
|
||||
"insert into a (i, s) values(2, 'two')",
|
||||
|
||||
Reference in New Issue
Block a user