--- parser3/tests/results/388-sql.processed 2017/12/08 00:55:21 1.3 +++ parser3/tests/results/388-sql.processed 2019/10/24 11:28:49 1.6 @@ -1,17 +1,20 @@ Content-Type: text/html -Content-Length: 2923 +Content-Length: 3188 1. 2 + 2 = 4 2. void -2.1 2.2 2.3 Type: parser.runtime, -Source: sqlite://****, +2.0 2.1 2.2 2.3 Type: sql.execute, +Source: select * from pets, Comment: must return nothing 2.4 Type: parser.runtime, Source: sql, Comment: called with invalid option 2.5 Type: sql.execute, Source: query, -Comment: bind variables not supported yet +Comment: bind variables not supported (yet) +2.6 Multiple queries: 2.7 Exception in second query: Type: sql.execute, +Source: delete from pets where pet='' ; select 2+2 , +Comment: must return nothing 3. int/double 3.1 2 int 3.2 Type: parser.runtime, @@ -57,14 +60,17 @@ Comment: produced no result, but no defa "dog":"bone", "parrot":"grain" } -4.4 Type: parser.runtime, -Source: sqlite://****, +4.4 Type: sql.execute, +Source: select * from pets, Comment: only 2 columns allowed for $.type[string]. 4.5. { "dog":[ {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} ] } +4.6 Type: sql.execute, +Source: select 'dup', pet from pets, +Comment: duplicate key 5. table 5.1 [ {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}, @@ -76,7 +82,7 @@ Comment: only 2 columns allowed for $.ty ] 5.3 Type: sql.execute, Source: select * from pets, -Comment: bind variables not supported yet +Comment: bind variables not supported (yet) 5.4 Type: parser.runtime, Source: sql, Comment: called with invalid option @@ -97,8 +103,8 @@ Comment: called with invalid option "content-type":"unknown", "text":"\"never\"" } -6.3 Type: parser.runtime, -Source: sqlite://****, +6.3 Type: sql.execute, +Source: select * from pets, Comment: result must contain not more then 3 columns 6.4 Type: parser.runtime, Source: sql, @@ -111,23 +117,23 @@ Comment: produced no result "content-type":"1", "text":"1" } - bug! -6.6 Type: parser.runtime, -Source: sqlite://****, +6.6 Type: sql.execute, +Source: select 1,2 from pets, Comment: result must not contain more then one row, three columns 6.7 Type: parser.runtime, Source: sql, Comment: called with invalid option -6.8 "''test''" +6.8 \"\'test\'\" 7. string -7.1 Type: parser.runtime, -Source: sqlite://****, +7.1 Type: sql.execute, +Source: select * from pets, Comment: result must contain exactly one column -7.2 Type: parser.runtime, -Source: sqlite://****, +7.2 Type: sql.execute, +Source: select pet from pets, Comment: result must not contain more then one row 7.3 Type: sql.execute, Source: select 2+2, -Comment: bind variables not supported yet +Comment: bind variables not supported (yet) 7.4 Type: parser.runtime, Source: sql, Comment: called with invalid option