--- parser3/tests/results/388-sql.processed 2017/12/08 00:55:21 1.3 +++ parser3/tests/results/388-sql.processed 2019/10/25 13:10:20 1.8 @@ -1,10 +1,10 @@ Content-Type: text/html -Content-Length: 2923 +Content-Length: 3571 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,12 @@ Comment: called with invalid option 2.5 Type: sql.execute, Source: query, Comment: bind variables not supported yet +2.6 Multiple queries: 2.8 Multiple queries, data in first query: Type: sql.execute, +Source: select 2+2 ; delete from pets where pet='', +Comment: must return nothing +2.9 Multiple queries, data 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, @@ -23,6 +29,9 @@ Comment: produced no result, but no defa Source: sql, Comment: produced no result, but no default option specified 3.6 1 +3.7 Multiple queries, data in first query: 4 3.8 Multiple queries, data in second query: 4 3.9 Multiple queries, data in both queries: Type: sql.execute, +Source: select 2+2 ; select 3+3 , +Comment: result must contain exactly one column 4. hash 4.1 { "cat":{ @@ -57,14 +66,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"}, @@ -97,8 +109,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,19 +123,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,