Annotation of parser3/tests/results/388-sql.processed, revision 1.5
1.1 moko 1: Content-Type: text/html
1.5 ! moko 2: Content-Length: 3022
1.1 moko 3:
4: 1. 2 + 2 = 4
5: 2. void
1.4 moko 6: 2.1 2.2 2.3 Type: sql.execute,
7: Source: select * from pets,
1.1 moko 8: Comment: must return nothing
9: 2.4 Type: parser.runtime,
10: Source: sql,
11: Comment: called with invalid option
12: 2.5 Type: sql.execute,
13: Source: query,
14: Comment: bind variables not supported yet
15: 3. int/double
16: 3.1 2 int
17: 3.2 Type: parser.runtime,
18: Source: sql,
19: Comment: produced no result, but no default option specified
20: 3.3 1
21: 3.4 -2 double
22: 3.5 Type: parser.runtime,
23: Source: sql,
24: Comment: produced no result, but no default option specified
25: 3.6 1
26: 4. hash
27: 4.1 {
28: "cat":{
29: "food":"milk",
30: "aggressive":"'very'",
31: "weigth":"5"
32: },
33: "dog":{
34: "food":"bone",
35: "aggressive":"\"never\"",
36: "weigth":"10"
37: },
38: "parrot":{
39: "food":"grain",
40: "aggressive":"alwayws",
41: "weigth":"1"
42: }
43: }
44: 4.2 {
45: "cat":[
46: {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}
47: ],
48: "dog":[
49: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
50: ],
51: "parrot":[
52: {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"}
53: ]
54: }
55: 4.3 {
56: "cat":"milk",
57: "dog":"bone",
58: "parrot":"grain"
59: }
1.4 moko 60: 4.4 Type: sql.execute,
61: Source: select * from pets,
1.1 moko 62: Comment: only 2 columns allowed for $.type[string].
63: 4.5. {
64: "dog":[
65: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
66: ]
67: }
1.5 ! moko 68: 4.6 Type: sql.execute,
! 69: Source: select 'dup', pet from pets,
! 70: Comment: duplicate key
1.1 moko 71: 5. table
72: 5.1 [
73: {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"},
74: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"},
75: {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"}
76: ]
77: 5.2. [
78: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
79: ]
1.3 moko 80: 5.3 Type: sql.execute,
81: Source: select * from pets,
82: Comment: bind variables not supported yet
83: 5.4 Type: parser.runtime,
84: Source: sql,
85: Comment: called with invalid option
1.1 moko 86: 6. file
87: 6.1 {
88: "class":"file",
89: "name":"test.txt",
90: "size":6,
91: "mode":"binary",
92: "content-type":"text\/plain",
93: "text":"'very'"
94: }
95: 6.2 {
96: "class":"file",
97: "name":"unknown",
98: "size":7,
99: "mode":"binary",
100: "content-type":"unknown",
101: "text":"\"never\""
102: }
1.4 moko 103: 6.3 Type: sql.execute,
104: Source: select * from pets,
1.1 moko 105: Comment: result must contain not more then 3 columns
106: 6.4 Type: parser.runtime,
107: Source: sql,
108: Comment: produced no result
109: 6.5 {
110: "class":"file",
111: "name":"1",
112: "size":1,
113: "mode":"binary",
114: "content-type":"1",
115: "text":"1"
116: } - bug!
1.4 moko 117: 6.6 Type: sql.execute,
118: Source: select 1,2 from pets,
1.1 moko 119: Comment: result must not contain more then one row, three columns
120: 6.7 Type: parser.runtime,
121: Source: sql,
122: Comment: called with invalid option
123: 6.8 "''test''"
1.2 moko 124: 7. string
1.4 moko 125: 7.1 Type: sql.execute,
126: Source: select * from pets,
1.2 moko 127: Comment: result must contain exactly one column
1.4 moko 128: 7.2 Type: sql.execute,
129: Source: select pet from pets,
1.2 moko 130: Comment: result must not contain more then one row
131: 7.3 Type: sql.execute,
132: Source: select 2+2,
133: Comment: bind variables not supported yet
134: 7.4 Type: parser.runtime,
135: Source: sql,
136: Comment: called with invalid option
137: 7.5 Type: parser.runtime,
138: Source: sql,
139: Comment: produced no result, but no default option specified
140: 7.6 "default"
E-mail: