~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/parser.result

pandora-build v0.100 - Fixes several bugs found by cb1kenobi. Add several thoughts from folks at LCA.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET @save_sql_mode=@@sql_mode;
2
 
set SQL_MODE='';
3
 
create table ADDDATE(a int);
4
 
drop table ADDDATE;
5
 
create table ADDDATE (a int);
6
 
drop table ADDDATE;
7
 
create table BIT_AND(a int);
8
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_AND(a int)' at line 1
9
 
create table BIT_AND (a int);
10
 
drop table BIT_AND;
11
 
create table BIT_OR(a int);
12
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_OR(a int)' at line 1
13
 
create table BIT_OR (a int);
14
 
drop table BIT_OR;
15
 
create table BIT_XOR(a int);
16
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_XOR(a int)' at line 1
17
 
create table BIT_XOR (a int);
18
 
drop table BIT_XOR;
19
 
create table CAST(a int);
20
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CAST(a int)' at line 1
21
 
create table CAST (a int);
22
 
drop table CAST;
23
 
create table COUNT(a int);
24
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COUNT(a int)' at line 1
25
 
create table COUNT (a int);
26
 
drop table COUNT;
27
 
create table CURDATE(a int);
28
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURDATE(a int)' at line 1
29
 
create table CURDATE (a int);
30
 
drop table CURDATE;
31
 
create table CURTIME(a int);
32
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURTIME(a int)' at line 1
33
 
create table CURTIME (a int);
34
 
drop table CURTIME;
35
 
create table DATE_ADD(a int);
36
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_ADD(a int)' at line 1
37
 
create table DATE_ADD (a int);
38
 
drop table DATE_ADD;
39
 
create table DATE_SUB(a int);
40
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_SUB(a int)' at line 1
41
 
create table DATE_SUB (a int);
42
 
drop table DATE_SUB;
43
 
create table EXTRACT(a int);
44
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXTRACT(a int)' at line 1
45
 
create table EXTRACT (a int);
46
 
drop table EXTRACT;
47
 
create table GROUP_CONCAT(a int);
48
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP_CONCAT(a int)' at line 1
49
 
create table GROUP_CONCAT (a int);
50
 
drop table GROUP_CONCAT;
51
 
create table GROUP_UNIQUE_USERS(a int);
52
 
drop table GROUP_UNIQUE_USERS;
53
 
create table GROUP_UNIQUE_USERS (a int);
54
 
drop table GROUP_UNIQUE_USERS;
55
 
create table MAX(a int);
56
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX(a int)' at line 1
57
 
create table MAX (a int);
58
 
drop table MAX;
59
 
create table MID(a int);
60
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MID(a int)' at line 1
61
 
create table MID (a int);
62
 
drop table MID;
63
 
create table MIN(a int);
64
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MIN(a int)' at line 1
65
 
create table MIN (a int);
66
 
drop table MIN;
67
 
create table NOW(a int);
68
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOW(a int)' at line 1
69
 
create table NOW (a int);
70
 
drop table NOW;
71
 
create table POSITION(a int);
72
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'POSITION(a int)' at line 1
73
 
create table POSITION (a int);
74
 
drop table POSITION;
75
 
create table SESSION_USER(a int);
76
 
drop table SESSION_USER;
77
 
create table SESSION_USER (a int);
78
 
drop table SESSION_USER;
79
 
create table STD(a int);
80
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STD(a int)' at line 1
81
 
create table STD (a int);
82
 
drop table STD;
83
 
create table STDDEV(a int);
84
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV(a int)' at line 1
85
 
create table STDDEV (a int);
86
 
drop table STDDEV;
87
 
create table STDDEV_POP(a int);
88
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_POP(a int)' at line 1
89
 
create table STDDEV_POP (a int);
90
 
drop table STDDEV_POP;
91
 
create table STDDEV_SAMP(a int);
92
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_SAMP(a int)' at line 1
93
 
create table STDDEV_SAMP (a int);
94
 
drop table STDDEV_SAMP;
95
 
create table SUBDATE(a int);
96
 
drop table SUBDATE;
97
 
create table SUBDATE (a int);
98
 
drop table SUBDATE;
99
 
create table SUBSTR(a int);
100
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTR(a int)' at line 1
101
 
create table SUBSTR (a int);
102
 
drop table SUBSTR;
103
 
create table SUBSTRING(a int);
104
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTRING(a int)' at line 1
105
 
create table SUBSTRING (a int);
106
 
drop table SUBSTRING;
107
 
create table SUM(a int);
108
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUM(a int)' at line 1
109
 
create table SUM (a int);
110
 
drop table SUM;
111
 
create table SYSDATE(a int);
112
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SYSDATE(a int)' at line 1
113
 
create table SYSDATE (a int);
114
 
drop table SYSDATE;
115
 
create table SYSTEM_USER(a int);
116
 
drop table SYSTEM_USER;
117
 
create table SYSTEM_USER (a int);
118
 
drop table SYSTEM_USER;
119
 
create table TRIM(a int);
120
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TRIM(a int)' at line 1
121
 
create table TRIM (a int);
122
 
drop table TRIM;
123
 
create table UNIQUE_USERS(a int);
124
 
drop table UNIQUE_USERS;
125
 
create table UNIQUE_USERS (a int);
126
 
drop table UNIQUE_USERS;
127
 
create table VARIANCE(a int);
128
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARIANCE(a int)' at line 1
129
 
create table VARIANCE (a int);
130
 
drop table VARIANCE;
131
 
create table VAR_POP(a int);
132
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_POP(a int)' at line 1
133
 
create table VAR_POP (a int);
134
 
drop table VAR_POP;
135
 
create table VAR_SAMP(a int);
136
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_SAMP(a int)' at line 1
137
 
create table VAR_SAMP (a int);
138
 
drop table VAR_SAMP;
139
 
set SQL_MODE='IGNORE_SPACE';
140
 
create table ADDDATE(a int);
141
 
drop table ADDDATE;
142
 
create table ADDDATE (a int);
143
 
drop table ADDDATE;
144
 
create table BIT_AND(a int);
145
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_AND(a int)' at line 1
146
 
create table BIT_AND (a int);
147
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_AND (a int)' at line 1
148
 
create table BIT_OR(a int);
149
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_OR(a int)' at line 1
150
 
create table BIT_OR (a int);
151
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_OR (a int)' at line 1
152
 
create table BIT_XOR(a int);
153
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_XOR(a int)' at line 1
154
 
create table BIT_XOR (a int);
155
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BIT_XOR (a int)' at line 1
156
 
create table CAST(a int);
157
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CAST(a int)' at line 1
158
 
create table CAST (a int);
159
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CAST (a int)' at line 1
160
 
create table COUNT(a int);
161
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COUNT(a int)' at line 1
162
 
create table COUNT (a int);
163
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COUNT (a int)' at line 1
164
 
create table CURDATE(a int);
165
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURDATE(a int)' at line 1
166
 
create table CURDATE (a int);
167
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURDATE (a int)' at line 1
168
 
create table CURTIME(a int);
169
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURTIME(a int)' at line 1
170
 
create table CURTIME (a int);
171
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURTIME (a int)' at line 1
172
 
create table DATE_ADD(a int);
173
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_ADD(a int)' at line 1
174
 
create table DATE_ADD (a int);
175
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_ADD (a int)' at line 1
176
 
create table DATE_SUB(a int);
177
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_SUB(a int)' at line 1
178
 
create table DATE_SUB (a int);
179
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATE_SUB (a int)' at line 1
180
 
create table EXTRACT(a int);
181
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXTRACT(a int)' at line 1
182
 
create table EXTRACT (a int);
183
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXTRACT (a int)' at line 1
184
 
create table GROUP_CONCAT(a int);
185
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP_CONCAT(a int)' at line 1
186
 
create table GROUP_CONCAT (a int);
187
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP_CONCAT (a int)' at line 1
188
 
create table GROUP_UNIQUE_USERS(a int);
189
 
drop table GROUP_UNIQUE_USERS;
190
 
create table GROUP_UNIQUE_USERS (a int);
191
 
drop table GROUP_UNIQUE_USERS;
192
 
create table MAX(a int);
193
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX(a int)' at line 1
194
 
create table MAX (a int);
195
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX (a int)' at line 1
196
 
create table MID(a int);
197
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MID(a int)' at line 1
198
 
create table MID (a int);
199
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MID (a int)' at line 1
200
 
create table MIN(a int);
201
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MIN(a int)' at line 1
202
 
create table MIN (a int);
203
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MIN (a int)' at line 1
204
 
create table NOW(a int);
205
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOW(a int)' at line 1
206
 
create table NOW (a int);
207
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOW (a int)' at line 1
208
 
create table POSITION(a int);
209
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'POSITION(a int)' at line 1
210
 
create table POSITION (a int);
211
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'POSITION (a int)' at line 1
212
 
create table SESSION_USER(a int);
213
 
drop table SESSION_USER;
214
 
create table SESSION_USER (a int);
215
 
drop table SESSION_USER;
216
 
create table STD(a int);
217
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STD(a int)' at line 1
218
 
create table STD (a int);
219
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STD (a int)' at line 1
220
 
create table STDDEV(a int);
221
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV(a int)' at line 1
222
 
create table STDDEV (a int);
223
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV (a int)' at line 1
224
 
create table STDDEV_POP(a int);
225
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_POP(a int)' at line 1
226
 
create table STDDEV_POP (a int);
227
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_POP (a int)' at line 1
228
 
create table STDDEV_SAMP(a int);
229
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_SAMP(a int)' at line 1
230
 
create table STDDEV_SAMP (a int);
231
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STDDEV_SAMP (a int)' at line 1
232
 
create table SUBDATE(a int);
233
 
drop table SUBDATE;
234
 
create table SUBDATE (a int);
235
 
drop table SUBDATE;
236
 
create table SUBSTR(a int);
237
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTR(a int)' at line 1
238
 
create table SUBSTR (a int);
239
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTR (a int)' at line 1
240
 
create table SUBSTRING(a int);
241
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTRING(a int)' at line 1
242
 
create table SUBSTRING (a int);
243
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUBSTRING (a int)' at line 1
244
 
create table SUM(a int);
245
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUM(a int)' at line 1
246
 
create table SUM (a int);
247
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SUM (a int)' at line 1
248
 
create table SYSDATE(a int);
249
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SYSDATE(a int)' at line 1
250
 
create table SYSDATE (a int);
251
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SYSDATE (a int)' at line 1
252
 
create table SYSTEM_USER(a int);
253
 
drop table SYSTEM_USER;
254
 
create table SYSTEM_USER (a int);
255
 
drop table SYSTEM_USER;
256
 
create table TRIM(a int);
257
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TRIM(a int)' at line 1
258
 
create table TRIM (a int);
259
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TRIM (a int)' at line 1
260
 
create table UNIQUE_USERS(a int);
261
 
drop table UNIQUE_USERS;
262
 
create table UNIQUE_USERS (a int);
263
 
drop table UNIQUE_USERS;
264
 
create table VARIANCE(a int);
265
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARIANCE(a int)' at line 1
266
 
create table VARIANCE (a int);
267
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARIANCE (a int)' at line 1
268
 
create table VAR_POP(a int);
269
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_POP(a int)' at line 1
270
 
create table VAR_POP (a int);
271
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_POP (a int)' at line 1
272
 
create table VAR_SAMP(a int);
273
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_SAMP(a int)' at line 1
274
 
create table VAR_SAMP (a int);
275
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAR_SAMP (a int)' at line 1
 
1
create table ADDDATE(a int);
 
2
drop table ADDDATE;
 
3
create table ADDDATE (a int);
 
4
drop table ADDDATE;
 
5
create table CAST(a int);
 
6
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CAST(a int)' at line 1
 
7
create table CAST (a int);
 
8
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CAST (a int)' at line 1
 
9
create table COUNT(a int);
 
10
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'COUNT(a int)' at line 1
 
11
create table COUNT (a int);
 
12
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'COUNT (a int)' at line 1
 
13
create table CURDATE(a int);
 
14
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CURDATE(a int)' at line 1
 
15
create table CURDATE (a int);
 
16
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CURDATE (a int)' at line 1
 
17
create table DATE_ADD(a int);
 
18
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_ADD(a int)' at line 1
 
19
create table DATE_ADD (a int);
 
20
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_ADD (a int)' at line 1
 
21
create table DATE_SUB(a int);
 
22
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_SUB(a int)' at line 1
 
23
create table DATE_SUB (a int);
 
24
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_SUB (a int)' at line 1
 
25
create table EXTRACT(a int);
 
26
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'EXTRACT(a int)' at line 1
 
27
create table EXTRACT (a int);
 
28
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'EXTRACT (a int)' at line 1
 
29
create table GROUP_CONCAT(a int);
 
30
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'GROUP_CONCAT(a int)' at line 1
 
31
create table GROUP_CONCAT (a int);
 
32
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'GROUP_CONCAT (a int)' at line 1
 
33
create table GROUP_UNIQUE_USERS(a int);
 
34
drop table GROUP_UNIQUE_USERS;
 
35
create table GROUP_UNIQUE_USERS (a int);
 
36
drop table GROUP_UNIQUE_USERS;
 
37
create table MAX(a int);
 
38
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MAX(a int)' at line 1
 
39
create table MAX (a int);
 
40
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MAX (a int)' at line 1
 
41
create table MID(a int);
 
42
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MID(a int)' at line 1
 
43
create table MID (a int);
 
44
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MID (a int)' at line 1
 
45
create table MIN(a int);
 
46
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MIN(a int)' at line 1
 
47
create table MIN (a int);
 
48
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MIN (a int)' at line 1
 
49
create table NOW(a int);
 
50
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'NOW(a int)' at line 1
 
51
create table NOW (a int);
 
52
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'NOW (a int)' at line 1
 
53
create table POSITION(a int);
 
54
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'POSITION(a int)' at line 1
 
55
create table POSITION (a int);
 
56
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'POSITION (a int)' at line 1
 
57
create table SESSION_USER(a int);
 
58
drop table SESSION_USER;
 
59
create table SESSION_USER (a int);
 
60
drop table SESSION_USER;
 
61
create table STD(a int);
 
62
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STD(a int)' at line 1
 
63
create table STD (a int);
 
64
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STD (a int)' at line 1
 
65
create table STDDEV(a int);
 
66
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV(a int)' at line 1
 
67
create table STDDEV (a int);
 
68
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV (a int)' at line 1
 
69
create table STDDEV_POP(a int);
 
70
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_POP(a int)' at line 1
 
71
create table STDDEV_POP (a int);
 
72
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_POP (a int)' at line 1
 
73
create table STDDEV_SAMP(a int);
 
74
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_SAMP(a int)' at line 1
 
75
create table STDDEV_SAMP (a int);
 
76
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_SAMP (a int)' at line 1
 
77
create table SUBDATE(a int);
 
78
drop table SUBDATE;
 
79
create table SUBDATE (a int);
 
80
drop table SUBDATE;
 
81
create table SUBSTR(a int);
 
82
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTR(a int)' at line 1
 
83
create table SUBSTR (a int);
 
84
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTR (a int)' at line 1
 
85
create table SUM(a int);
 
86
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUM(a int)' at line 1
 
87
create table SUM (a int);
 
88
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUM (a int)' at line 1
 
89
create table SYSDATE(a int);
 
90
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SYSDATE(a int)' at line 1
 
91
create table SYSDATE (a int);
 
92
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SYSDATE (a int)' at line 1
 
93
create table SYSTEM_USER(a int);
 
94
drop table SYSTEM_USER;
 
95
create table SYSTEM_USER (a int);
 
96
drop table SYSTEM_USER;
 
97
create table TRIM(a int);
 
98
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'TRIM(a int)' at line 1
 
99
create table TRIM (a int);
 
100
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'TRIM (a int)' at line 1
 
101
create table UNIQUE_USERS(a int);
 
102
drop table UNIQUE_USERS;
 
103
create table UNIQUE_USERS (a int);
 
104
drop table UNIQUE_USERS;
 
105
create table VARIANCE(a int);
 
106
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VARIANCE(a int)' at line 1
 
107
create table VARIANCE (a int);
 
108
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VARIANCE (a int)' at line 1
 
109
create table VAR_POP(a int);
 
110
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_POP(a int)' at line 1
 
111
create table VAR_POP (a int);
 
112
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_POP (a int)' at line 1
 
113
create table VAR_SAMP(a int);
 
114
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_SAMP(a int)' at line 1
 
115
create table VAR_SAMP (a int);
 
116
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_SAMP (a int)' at line 1
 
117
create table ADDDATE(a int);
 
118
drop table ADDDATE;
 
119
create table ADDDATE (a int);
 
120
drop table ADDDATE;
 
121
create table CAST(a int);
 
122
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CAST(a int)' at line 1
 
123
create table CAST (a int);
 
124
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CAST (a int)' at line 1
 
125
create table COUNT(a int);
 
126
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'COUNT(a int)' at line 1
 
127
create table COUNT (a int);
 
128
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'COUNT (a int)' at line 1
 
129
create table CURDATE(a int);
 
130
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CURDATE(a int)' at line 1
 
131
create table CURDATE (a int);
 
132
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'CURDATE (a int)' at line 1
 
133
create table DATE_ADD(a int);
 
134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_ADD(a int)' at line 1
 
135
create table DATE_ADD (a int);
 
136
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_ADD (a int)' at line 1
 
137
create table DATE_SUB(a int);
 
138
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_SUB(a int)' at line 1
 
139
create table DATE_SUB (a int);
 
140
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'DATE_SUB (a int)' at line 1
 
141
create table EXTRACT(a int);
 
142
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'EXTRACT(a int)' at line 1
 
143
create table EXTRACT (a int);
 
144
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'EXTRACT (a int)' at line 1
 
145
create table GROUP_CONCAT(a int);
 
146
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'GROUP_CONCAT(a int)' at line 1
 
147
create table GROUP_CONCAT (a int);
 
148
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'GROUP_CONCAT (a int)' at line 1
 
149
create table GROUP_UNIQUE_USERS(a int);
 
150
drop table GROUP_UNIQUE_USERS;
 
151
create table GROUP_UNIQUE_USERS (a int);
 
152
drop table GROUP_UNIQUE_USERS;
 
153
create table MAX(a int);
 
154
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MAX(a int)' at line 1
 
155
create table MAX (a int);
 
156
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MAX (a int)' at line 1
 
157
create table MID(a int);
 
158
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MID(a int)' at line 1
 
159
create table MID (a int);
 
160
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MID (a int)' at line 1
 
161
create table MIN(a int);
 
162
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MIN(a int)' at line 1
 
163
create table MIN (a int);
 
164
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'MIN (a int)' at line 1
 
165
create table NOW(a int);
 
166
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'NOW(a int)' at line 1
 
167
create table NOW (a int);
 
168
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'NOW (a int)' at line 1
 
169
create table POSITION(a int);
 
170
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'POSITION(a int)' at line 1
 
171
create table POSITION (a int);
 
172
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'POSITION (a int)' at line 1
 
173
create table SESSION_USER(a int);
 
174
drop table SESSION_USER;
 
175
create table SESSION_USER (a int);
 
176
drop table SESSION_USER;
 
177
create table STD(a int);
 
178
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STD(a int)' at line 1
 
179
create table STD (a int);
 
180
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STD (a int)' at line 1
 
181
create table STDDEV(a int);
 
182
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV(a int)' at line 1
 
183
create table STDDEV (a int);
 
184
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV (a int)' at line 1
 
185
create table STDDEV_POP(a int);
 
186
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_POP(a int)' at line 1
 
187
create table STDDEV_POP (a int);
 
188
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_POP (a int)' at line 1
 
189
create table STDDEV_SAMP(a int);
 
190
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_SAMP(a int)' at line 1
 
191
create table STDDEV_SAMP (a int);
 
192
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'STDDEV_SAMP (a int)' at line 1
 
193
create table SUBDATE(a int);
 
194
drop table SUBDATE;
 
195
create table SUBDATE (a int);
 
196
drop table SUBDATE;
 
197
create table SUBSTR(a int);
 
198
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTR(a int)' at line 1
 
199
create table SUBSTR (a int);
 
200
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTR (a int)' at line 1
 
201
create table SUBSTRING(a int);
 
202
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTRING(a int)' at line 1
 
203
create table SUBSTRING (a int);
 
204
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUBSTRING (a int)' at line 1
 
205
create table SUM(a int);
 
206
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUM(a int)' at line 1
 
207
create table SUM (a int);
 
208
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SUM (a int)' at line 1
 
209
create table SYSDATE(a int);
 
210
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SYSDATE(a int)' at line 1
 
211
create table SYSDATE (a int);
 
212
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'SYSDATE (a int)' at line 1
 
213
create table SYSTEM_USER(a int);
 
214
drop table SYSTEM_USER;
 
215
create table SYSTEM_USER (a int);
 
216
drop table SYSTEM_USER;
 
217
create table TRIM(a int);
 
218
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'TRIM(a int)' at line 1
 
219
create table TRIM (a int);
 
220
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'TRIM (a int)' at line 1
 
221
create table UNIQUE_USERS(a int);
 
222
drop table UNIQUE_USERS;
 
223
create table UNIQUE_USERS (a int);
 
224
drop table UNIQUE_USERS;
 
225
create table VARIANCE(a int);
 
226
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VARIANCE(a int)' at line 1
 
227
create table VARIANCE (a int);
 
228
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VARIANCE (a int)' at line 1
 
229
create table VAR_POP(a int);
 
230
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_POP(a int)' at line 1
 
231
create table VAR_POP (a int);
 
232
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_POP (a int)' at line 1
 
233
create table VAR_SAMP(a int);
 
234
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_SAMP(a int)' at line 1
 
235
create table VAR_SAMP (a int);
 
236
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'VAR_SAMP (a int)' at line 1
276
237
DROP TABLE IF EXISTS table_25930_a;
277
238
DROP TABLE IF EXISTS table_25930_b;
278
 
SET SQL_MODE = 'ANSI_QUOTES';
279
239
CREATE TABLE table_25930_a ( "blah" INT );
 
240
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '"blah" INT )' at line 1
 
241
CREATE TABLE table_25930_a ( blah INT );
280
242
CREATE TABLE table_25930_b SELECT "blah" - 1 FROM table_25930_a;
281
243
desc table_25930_b;
282
244
Field   Type    Null    Key     Default Extra
283
 
"blah" - 1      bigint(12)      YES             NULL    
 
245
"blah" - 1      double  NO              NULL    
284
246
DROP TABLE table_25930_a;
285
247
DROP TABLE table_25930_b;
286
 
SET @@sql_mode=@save_sql_mode;
287
248
select pi(3.14);
288
249
ERROR 42000: Incorrect parameter count in the call to native function 'pi'
289
250
select tan();
294
255
ERROR 42000: Incorrect parameter count in the call to native function 'makedate'
295
256
select makedate(1, 2, 3);
296
257
ERROR 42000: Incorrect parameter count in the call to native function 'makedate'
297
 
select maketime();
298
 
ERROR 42000: Incorrect parameter count in the call to native function 'maketime'
299
 
select maketime(1);
300
 
ERROR 42000: Incorrect parameter count in the call to native function 'maketime'
301
 
select maketime(1, 2);
302
 
ERROR 42000: Incorrect parameter count in the call to native function 'maketime'
303
 
select maketime(1, 2, 3, 4);
304
 
ERROR 42000: Incorrect parameter count in the call to native function 'maketime'
305
258
select atan();
306
259
ERROR 42000: Incorrect parameter count in the call to native function 'atan'
307
260
select atan2(1, 2, 3);
315
268
ERROR 42000: Incorrect parameter count in the call to native function 'concat_ws'
316
269
select concat_ws("foo");
317
270
ERROR 42000: Incorrect parameter count in the call to native function 'concat_ws'
318
 
select encrypt();
319
 
ERROR 42000: Incorrect parameter count in the call to native function 'encrypt'
320
 
select encrypt(1, 2, 3);
321
 
ERROR 42000: Incorrect parameter count in the call to native function 'encrypt'
322
 
select des_encrypt("p1", "p2", "not expected");
323
 
ERROR 42000: Incorrect parameter count in the call to native function 'des_encrypt'
324
 
select des_decrypt("p1", "p2", "not expected");
325
 
ERROR 42000: Incorrect parameter count in the call to native function 'des_decrypt'
326
271
select elt();
327
272
ERROR 42000: Incorrect parameter count in the call to native function 'elt'
328
273
select elt(1);
369
314
ERROR 42000: Incorrect parameter count in the call to native function 'make_set'
370
315
select make_set(1);
371
316
ERROR 42000: Incorrect parameter count in the call to native function 'make_set'
372
 
select master_pos_wait();
373
 
ERROR 42000: Incorrect parameter count in the call to native function 'master_pos_wait'
374
 
select master_pos_wait(1);
375
 
ERROR 42000: Incorrect parameter count in the call to native function 'master_pos_wait'
376
 
select master_pos_wait(1, 2, 3, 4);
377
 
ERROR 42000: Incorrect parameter count in the call to native function 'master_pos_wait'
378
317
select rand(1, 2, 3);
379
318
ERROR 42000: Incorrect parameter count in the call to native function 'rand'
380
319
select round(1, 2, 3);
381
320
ERROR 42000: Incorrect parameter count in the call to native function 'round'
382
 
select yearweek();
383
 
ERROR 42000: Incorrect parameter count in the call to native function 'yearweek'
384
 
select yearweek(1, 2, 3);
385
 
ERROR 42000: Incorrect parameter count in the call to native function 'yearweek'
386
321
select abs(3);
387
322
abs(3)
388
323
3
454
389
ERROR 42000: Incorrect parameters in the call to native function 'conv'
455
390
select atan(10);
456
391
atan(10)
457
 
1.4711276743037347
 
392
1.47112767430373
458
393
select atan(10 AS p1);
459
394
ERROR 42000: Incorrect parameters in the call to native function 'atan'
460
395
select atan(10 p1);
465
400
ERROR 42000: Incorrect parameters in the call to native function 'atan'
466
401
select atan(10, 20);
467
402
atan(10, 20)
468
 
0.4636476090008061
 
403
0.463647609000806
469
404
select atan(10 AS p1, 20);
470
405
ERROR 42000: Incorrect parameters in the call to native function 'atan'
471
406
select atan(10 p1, 20);
485
420
select atan(10 AS p1, 20 AS p2);
486
421
ERROR 42000: Incorrect parameters in the call to native function 'atan'
487
422
DROP TABLE IF EXISTS t1;
488
 
SELECT STR_TO_DATE('10:00 PM', '%h:%i %p') + INTERVAL 10 MINUTE;
489
 
STR_TO_DATE('10:00 PM', '%h:%i %p') + INTERVAL 10 MINUTE
490
 
NULL
491
 
SELECT STR_TO_DATE('10:00 PM', '%h:%i %p') + INTERVAL (INTERVAL(1,2,3) + 1) MINUTE;
492
 
STR_TO_DATE('10:00 PM', '%h:%i %p') + INTERVAL (INTERVAL(1,2,3) + 1) MINUTE
493
 
NULL
494
423
SELECT "1997-12-31 23:59:59" + INTERVAL 1 SECOND;
495
424
"1997-12-31 23:59:59" + INTERVAL 1 SECOND
496
425
1998-01-01 00:00:00
497
426
SELECT 1 + INTERVAL(1,0,1,2) + 1;
498
427
1 + INTERVAL(1,0,1,2) + 1
499
428
4
500
 
SELECT INTERVAL(1^1,0,1,2) + 1;
501
 
INTERVAL(1^1,0,1,2) + 1
502
 
2
 
429
SELECT INTERVAL(1,0,1,2) + 1;
 
430
INTERVAL(1,0,1,2) + 1
 
431
3
503
432
SELECT INTERVAL(1,0+1,2,3) * 5.5;
504
433
INTERVAL(1,0+1,2,3) * 5.5
505
434
5.5
515
444
SELECT INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3);
516
445
INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3)
517
446
2
518
 
SELECT 1^1 + INTERVAL 1+1 SECOND & 1 + INTERVAL 1+1 SECOND;
519
 
1^1 + INTERVAL 1+1 SECOND & 1 + INTERVAL 1+1 SECOND
520
 
NULL
521
 
SELECT 1%2 - INTERVAL 1^1 SECOND | 1%2 - INTERVAL 1^1 SECOND;
522
 
1%2 - INTERVAL 1^1 SECOND | 1%2 - INTERVAL 1^1 SECOND
523
 
NULL
524
447
CREATE TABLE t1 (a INT, b DATETIME);
525
448
INSERT INTO t1 VALUES (INTERVAL(3,2,1) + 1, "1997-12-31 23:59:59" + INTERVAL 1 SECOND);
526
449
SELECT * FROM t1 WHERE a = INTERVAL(3,2,1) + 1;
548
471
a1      a4
549
472
DROP TABLE t1, t2, t3;
550
473
BACKUP DATABASE *, test to 'broken.bak';
551
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' test to 'broken.bak'' at line 1
 
474
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'BACKUP DATABASE *, test to 'broken.bak'' at line 1
552
475
BACKUP DATABASE *, db1, db2, db3 to 'broken.bak';
553
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' db1, db2, db3 to 'broken.bak'' at line 1
 
476
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'BACKUP DATABASE *, db1, db2, db3 to 'broken.bak'' at line 1