--- parser3/tests/429-sql.html 2024/09/30 16:40:32 1.1 +++ parser3/tests/429-sql.html 2024/09/30 19:16:41 1.2 @@ -33,12 +33,15 @@ 2.8 ^a[select aggressive from pets; $.type[table] ] + 2.9 ^try-catch{ ^a[select 2+2; $.bug(1) ] } @basic-tests-sparse[] basic tests sparse 3.1 ^a[select weigth as key, pet from pets; $.type[table] $.distinct(true) ] + 3.1.1 ^try-catch{ ^a[select weigth as key, pet from pets; $.type[table] ] } 3.2 ^a[select weigth as key, pet from pets; $.type[string] $.distinct(true) ] + 3.2.1 ^try-catch{ ^a[select weigth as key, pet from pets; $.type[string] ] } ^void:sql{delete from pets where pet='hamster'} @@ -56,10 +59,16 @@ 3.9 ^a[select weigth, pet from pets] + 3.10 ^a[select weigth from pets] + + 3.11 ^try-catch{ ^a[select -1 from pets] } + @multi-tests[] multi statements tests + 1.1 ^a[delete from pets where pet=''] + 1.2 ^a[select 0,* from pets^;select 1,* from pets; $.type[table] ] 1.3 ^a[select 0,* from pets^;select 0,* from pets; $.type[table] ]