|
|
| version 1.9, 2020/01/18 20:52:01 | version 1.16, 2024/09/28 19:45:17 |
|---|---|
| Line 1 | Line 1 |
| Content-Type: text/html | Content-Type: text/html |
| Content-Length: 3863 | Content-Length: 4667 |
| Line 16 Content-Length: 3863 | Line 9 Content-Length: 3863 |
| 2. void | 2. void |
| 2.0 | 2.1 |
| 2.1 | |
| 2.2 | |
| 2.3 | 2.3 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select * from pets, | Source: select * from pets, |
| Comment: must return nothing | Comment: must return nothing |
| 2.4 | 2.4 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: called with invalid option | Comment: called with invalid option |
| 2.5 | 2.5 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: query, | Source: query, |
| Comment: bind variables not supported yet | Comment: bind variables not supported yet |
| Line 44 Content-Length: 3863 | Line 37 Content-Length: 3863 |
| 2.6 Multiple queries: | 2.6 Multiple queries: |
| 2.8 Multiple queries, data in first query: | 2.8 Multiple queries, data in first query: |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select 2+2 ; delete from pets where pet='', | Source: select 2+2 ; delete from pets where pet='', |
| Comment: must return nothing | Comment: must return nothing |
| 2.9 Multiple queries, data in second query: | 2.9 Multiple queries, data in second query: |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: delete from pets where pet='' ; select 2+2, | Source: delete from pets where pet='' ; select 2+2, |
| Comment: must return nothing | Comment: must return nothing |
| Line 61 Content-Length: 3863 | Line 54 Content-Length: 3863 |
| 3.1 2 int | 3.1 2 int |
| 3.2 | 3.2 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: produced no result, but no default option specified | Comment: produced no result, but no default option specified |
| Line 70 Content-Length: 3863 | Line 63 Content-Length: 3863 |
| 3.4 -2 double | 3.4 -2 double |
| 3.5 | 3.5 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: produced no result, but no default option specified | Comment: produced no result, but no default option specified |
| Line 80 Content-Length: 3863 | Line 73 Content-Length: 3863 |
| 3.8 Multiple queries, data in second query: 4 | 3.8 Multiple queries, data in second query: 4 |
| 3.9 Multiple queries, data in both queries: | 3.9 Multiple queries, data in both queries: |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select 2+2 ; select 3+3 , | Source: select 2+2 ; select 3+3 , |
| Comment: result must contain exactly one column | Comment: result must contain exactly one column |
| Line 100 Content-Length: 3863 | Line 93 Content-Length: 3863 |
| "aggressive":"\"never\"", | "aggressive":"\"never\"", |
| "weigth":"10" | "weigth":"10" |
| }, | }, |
| "hamster":{ | |
| "food":"grain", | |
| "aggressive":"", | |
| "weigth":"1" | |
| }, | |
| "parrot":{ | "parrot":{ |
| "food":"grain", | "food":"grain", |
| "aggressive":"alwayws", | "aggressive":"alwayws", |
| Line 115 Content-Length: 3863 | Line 113 Content-Length: 3863 |
| "dog":[ | "dog":[ |
| {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} | {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} |
| ], | ], |
| "hamster":[ | |
| {"pet":"hamster","food":"grain","aggressive":"","weigth":"1"} | |
| ], | |
| "parrot":[ | "parrot":[ |
| {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} | {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} |
| ] | ] |
| Line 124 Content-Length: 3863 | Line 125 Content-Length: 3863 |
| { | { |
| "cat":"milk", | "cat":"milk", |
| "dog":"bone", | "dog":"bone", |
| "hamster":"grain", | |
| "parrot":"grain" | "parrot":"grain" |
| } | } |
| 4.4 | 4.4 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select * from pets, | Source: select * from pets, |
| Comment: only 2 columns allowed for $.type[string]. | Comment: only 2 columns allowed for $.type[string]. |
| Line 143 Content-Length: 3863 | Line 145 Content-Length: 3863 |
| 4.6 | 4.6 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select 'dup', pet from pets, | Source: select 'dup', pet from pets, |
| Comment: duplicate key | Comment: duplicate key |
| 4.7 | |
| { | |
| "cat":true, | |
| "dog":true, | |
| "hamster":true, | |
| "parrot":true | |
| } | |
| 4.7.1 | |
| { | |
| "'very'":true, | |
| "\"never\"":true, | |
| "":true, | |
| "alwayws":true | |
| } | |
| 4.8 | |
| { | |
| "milk":[ | |
| {"key":"milk","pet":"cat"} | |
| ], | |
| "bone":[ | |
| {"key":"bone","pet":"dog"} | |
| ], | |
| "grain":[ | |
| {"key":"grain","pet":"hamster"}, | |
| {"key":"grain","pet":"parrot"} | |
| ] | |
| } | |
| 4.9 | |
| { | |
| "milk":"cat", | |
| "bone":"dog", | |
| "grain":"hamster" | |
| } | |
| 5. table | 5. table |
| Line 155 Content-Length: 3863 | Line 194 Content-Length: 3863 |
| [ | [ |
| {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}, | {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}, |
| {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}, | {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}, |
| {"pet":"hamster","food":"grain","aggressive":"","weigth":"1"}, | |
| {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} | {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} |
| ] | ] |
| Line 165 Content-Length: 3863 | Line 205 Content-Length: 3863 |
| 5.3 | 5.3 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select * from pets, | Source: select * from pets, |
| Comment: bind variables not supported yet | Comment: bind variables not supported yet |
| 5.4 | 5.4 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: called with invalid option | Comment: called with invalid option |
| Line 202 Content-Length: 3863 | Line 242 Content-Length: 3863 |
| 6.3 | 6.3 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select * from pets, | Source: select * from pets, |
| Comment: result must contain not more then 3 columns | Comment: result must contain no more than 3 columns |
| 6.4 | 6.4 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: produced no result | Comment: produced no result |
| 6.5 | 6.5 |
| { | |
| "class":"file", | Exception type: sql.execute, |
| "name":"1", | Source: select 1 from pets, |
| "size":1, | Comment: result must contain no more than 1 row |
| "mode":"binary", | |
| "content-type":"1", | |
| "text":"1" | |
| } - bug! | |
| 6.6 | 6.6 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select 1,2 from pets, | Source: select 1,2 from pets, |
| Comment: result must not contain more then one row, three columns | Comment: result must contain no more than 1 row |
| 6.7 | 6.7 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: called with invalid option | Comment: called with invalid option |
| Line 244 Content-Length: 3863 | Line 281 Content-Length: 3863 |
| 7.1 | 7.1 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select * from pets, | Source: select * from pets, |
| Comment: result must contain exactly one column | Comment: result must contain exactly one column |
| 7.2 | 7.2 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select pet from pets, | Source: select pet from pets, |
| Comment: result must not contain more then one row | Comment: result must contain no more than one row |
| 7.3 | 7.3 |
| Type: sql.execute, | Exception type: sql.execute, |
| Source: select 2+2, | Source: select 2+2, |
| Comment: bind variables not supported yet | Comment: bind variables not supported yet |
| 7.4 | 7.4 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: called with invalid option | Comment: called with invalid option |
| 7.5 | 7.5 |
| Type: parser.runtime, | Exception type: parser.runtime, |
| Source: sql, | Source: sql, |
| Comment: produced no result, but no default option specified | Comment: produced no result, but no default option specified |