--- parser3/tests/results/388-sql.processed 2017/12/07 00:55:12 1.2 +++ parser3/tests/results/388-sql.processed 2019/10/24 15:14:56 1.7 @@ -1,10 +1,10 @@ Content-Type: text/html -Content-Length: 2755 +Content-Length: 3180 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, @@ -12,6 +12,9 @@ Comment: called with invalid option 2.5 Type: sql.execute, Source: query, 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"}, @@ -74,6 +80,12 @@ Comment: only 2 columns allowed for $.ty 5.2. [ {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} ] +5.3 Type: sql.execute, +Source: select * from pets, +Comment: bind variables not supported yet +5.4 Type: parser.runtime, +Source: sql, +Comment: called with invalid option 6. file 6.1 { "class":"file", @@ -91,8 +103,8 @@ Comment: only 2 columns allowed for $.ty "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, @@ -105,19 +117,19 @@ 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''" 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,