~drizzle-trunk/drizzle/development

1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
7
create table CAST (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
9
create table COUNT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
11
create table COUNT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
13
create table CURDATE(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
15
create table CURDATE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
17
create table DATE_ADD(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
19
create table DATE_ADD (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
21
create table DATE_SUB(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
23
create table DATE_SUB (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
25
create table EXTRACT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
27
create table EXTRACT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
29
create table GROUP_CONCAT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
31
create table GROUP_CONCAT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
39
create table MAX (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
41
create table MID(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
43
create table MID (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
45
create table MIN(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
47
create table MIN (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
49
create table NOW(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
51
create table NOW (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
53
create table POSITION(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
55
create table POSITION (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
63
create table STD (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
65
create table STDDEV(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
67
create table STDDEV (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
69
create table STDDEV_POP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
71
create table STDDEV_POP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
73
create table STDDEV_SAMP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
75
create table STDDEV_SAMP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
83
create table SUBSTR (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
85
create table SUM(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
87
create table SUM (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
89
create table SYSDATE(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
91
create table SYSDATE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
99
create table TRIM (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
107
create table VARIANCE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
109
create table VAR_POP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
111
create table VAR_POP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
113
create table VAR_SAMP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
115
create table VAR_SAMP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
123
create table CAST (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
125
create table COUNT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
127
create table COUNT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
129
create table CURDATE(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
131
create table CURDATE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
133
create table DATE_ADD(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
135
create table DATE_ADD (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
137
create table DATE_SUB(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
139
create table DATE_SUB (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
141
create table EXTRACT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
143
create table EXTRACT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
145
create table GROUP_CONCAT(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
147
create table GROUP_CONCAT (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
155
create table MAX (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
157
create table MID(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
159
create table MID (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
161
create table MIN(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
163
create table MIN (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
165
create table NOW(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
167
create table NOW (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
169
create table POSITION(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
171
create table POSITION (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
179
create table STD (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
181
create table STDDEV(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
183
create table STDDEV (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
185
create table STDDEV_POP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
187
create table STDDEV_POP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
189
create table STDDEV_SAMP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
191
create table STDDEV_SAMP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
199
create table SUBSTR (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
201
create table SUBSTRING(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
203
create table SUBSTRING (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
205
create table SUM(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
207
create table SUM (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
209
create table SYSDATE(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
211
create table SYSDATE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
219
create table TRIM (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
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);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
227
create table VARIANCE (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
229
create table VAR_POP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
231
create table VAR_POP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
233
create table VAR_SAMP(a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
235
create table VAR_SAMP (a int);
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
237
DROP TABLE IF EXISTS table_25930_a;
238
DROP TABLE IF EXISTS table_25930_b;
239
CREATE TABLE table_25930_a ( "blah" INT );
629.2.6 by Monty
Updated test output with new and improved error messages.
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
520.1.8 by Brian Aker
Updating tests.
241
CREATE TABLE table_25930_a ( blah INT );
1 by brian
clean slate
242
CREATE TABLE table_25930_b SELECT "blah" - 1 FROM table_25930_a;
243
desc table_25930_b;
244
Field	Type	Null	Key	Default	Extra
896.3.6 by Stewart Smith
Read Fields out of proto instead of FRM.
245
"blah" - 1	double	NO		NULL	
1 by brian
clean slate
246
DROP TABLE table_25930_a;
247
DROP TABLE table_25930_b;
248
select pi(3.14);
249
ERROR 42000: Incorrect parameter count in the call to native function 'pi'
250
select tan();
251
ERROR 42000: Incorrect parameter count in the call to native function 'tan'
252
select tan(1, 2);
253
ERROR 42000: Incorrect parameter count in the call to native function 'tan'
254
select makedate(1);
255
ERROR 42000: Incorrect parameter count in the call to native function 'makedate'
256
select makedate(1, 2, 3);
257
ERROR 42000: Incorrect parameter count in the call to native function 'makedate'
258
select atan();
259
ERROR 42000: Incorrect parameter count in the call to native function 'atan'
260
select atan2(1, 2, 3);
261
ERROR 42000: Incorrect parameter count in the call to native function 'atan2'
262
select concat();
263
ERROR 42000: Incorrect parameter count in the call to native function 'concat'
264
select concat("foo");
265
concat("foo")
266
foo
267
select concat_ws();
268
ERROR 42000: Incorrect parameter count in the call to native function 'concat_ws'
269
select concat_ws("foo");
270
ERROR 42000: Incorrect parameter count in the call to native function 'concat_ws'
271
select elt();
272
ERROR 42000: Incorrect parameter count in the call to native function 'elt'
273
select elt(1);
274
ERROR 42000: Incorrect parameter count in the call to native function 'elt'
275
select export_set();
276
ERROR 42000: Incorrect parameter count in the call to native function 'export_set'
277
select export_set("p1");
278
ERROR 42000: Incorrect parameter count in the call to native function 'export_set'
279
select export_set("p1", "p2");
280
ERROR 42000: Incorrect parameter count in the call to native function 'export_set'
281
select export_set("p1", "p2", "p3", "p4", "p5", "p6");
282
ERROR 42000: Incorrect parameter count in the call to native function 'export_set'
283
select field();
284
ERROR 42000: Incorrect parameter count in the call to native function 'field'
285
select field("p1");
286
ERROR 42000: Incorrect parameter count in the call to native function 'field'
287
select from_unixtime();
288
ERROR 42000: Incorrect parameter count in the call to native function 'from_unixtime'
289
select from_unixtime(1, 2, 3);
290
ERROR 42000: Incorrect parameter count in the call to native function 'from_unixtime'
291
select unix_timestamp(1, 2);
292
ERROR 42000: Incorrect parameter count in the call to native function 'unix_timestamp'
293
select greatest();
294
ERROR 42000: Incorrect parameter count in the call to native function 'greatest'
295
select greatest(12);
296
ERROR 42000: Incorrect parameter count in the call to native function 'greatest'
297
select last_insert_id(1, 2);
298
ERROR 42000: Incorrect parameter count in the call to native function 'last_insert_id'
299
select least();
300
ERROR 42000: Incorrect parameter count in the call to native function 'least'
301
select least(12);
302
ERROR 42000: Incorrect parameter count in the call to native function 'least'
303
select locate();
304
ERROR 42000: Incorrect parameter count in the call to native function 'locate'
305
select locate(1);
306
ERROR 42000: Incorrect parameter count in the call to native function 'locate'
307
select locate(1, 2, 3, 4);
308
ERROR 42000: Incorrect parameter count in the call to native function 'locate'
309
select log();
310
ERROR 42000: Incorrect parameter count in the call to native function 'log'
311
select log(1, 2, 3);
312
ERROR 42000: Incorrect parameter count in the call to native function 'log'
313
select make_set();
314
ERROR 42000: Incorrect parameter count in the call to native function 'make_set'
315
select make_set(1);
316
ERROR 42000: Incorrect parameter count in the call to native function 'make_set'
317
select rand(1, 2, 3);
318
ERROR 42000: Incorrect parameter count in the call to native function 'rand'
319
select round(1, 2, 3);
320
ERROR 42000: Incorrect parameter count in the call to native function 'round'
321
select abs(3);
322
abs(3)
323
3
324
select abs(3 AS three);
325
ERROR 42000: Incorrect parameters in the call to native function 'abs'
326
select abs(3 three);
327
ERROR 42000: Incorrect parameters in the call to native function 'abs'
328
select abs(3 AS "three");
329
ERROR 42000: Incorrect parameters in the call to native function 'abs'
330
select abs(3 "three");
331
ERROR 42000: Incorrect parameters in the call to native function 'abs'
332
set @bar="bar";
333
set @foobar="foobar";
334
select instr("foobar", "bar");
335
instr("foobar", "bar")
336
4
337
select instr("foobar" AS p1, "bar");
338
ERROR 42000: Incorrect parameters in the call to native function 'instr'
339
select instr("foobar" p1, "bar");
340
ERROR 42000: Incorrect parameters in the call to native function 'instr'
341
select instr("foobar" AS "p1", "bar");
342
ERROR 42000: Incorrect parameters in the call to native function 'instr'
343
select instr("foobar" "p1", "bar");
344
instr("foobar" "p1", "bar")
345
4
346
select instr(@foobar "p1", "bar");
347
ERROR 42000: Incorrect parameters in the call to native function 'instr'
348
select instr("foobar", "bar" AS p2);
349
ERROR 42000: Incorrect parameters in the call to native function 'instr'
350
select instr("foobar", "bar" p2);
351
ERROR 42000: Incorrect parameters in the call to native function 'instr'
352
select instr("foobar", "bar" AS "p2");
353
ERROR 42000: Incorrect parameters in the call to native function 'instr'
354
select instr("foobar", "bar" "p2");
355
instr("foobar", "bar" "p2")
356
0
357
select instr("foobar", @bar "p2");
358
ERROR 42000: Incorrect parameters in the call to native function 'instr'
359
select instr("foobar" AS p1, "bar" AS p2);
360
ERROR 42000: Incorrect parameters in the call to native function 'instr'
361
select conv(255, 10, 16);
362
conv(255, 10, 16)
363
FF
364
select conv(255 AS p1, 10, 16);
365
ERROR 42000: Incorrect parameters in the call to native function 'conv'
366
select conv(255 p1, 10, 16);
367
ERROR 42000: Incorrect parameters in the call to native function 'conv'
368
select conv(255 AS "p1", 10, 16);
369
ERROR 42000: Incorrect parameters in the call to native function 'conv'
370
select conv(255 "p1", 10, 16);
371
ERROR 42000: Incorrect parameters in the call to native function 'conv'
372
select conv(255, 10 AS p2, 16);
373
ERROR 42000: Incorrect parameters in the call to native function 'conv'
374
select conv(255, 10 p2, 16);
375
ERROR 42000: Incorrect parameters in the call to native function 'conv'
376
select conv(255, 10 AS "p2", 16);
377
ERROR 42000: Incorrect parameters in the call to native function 'conv'
378
select conv(255, 10 "p2", 16);
379
ERROR 42000: Incorrect parameters in the call to native function 'conv'
380
select conv(255, 10, 16 AS p3);
381
ERROR 42000: Incorrect parameters in the call to native function 'conv'
382
select conv(255, 10, 16 p3);
383
ERROR 42000: Incorrect parameters in the call to native function 'conv'
384
select conv(255, 10, 16 AS "p3");
385
ERROR 42000: Incorrect parameters in the call to native function 'conv'
386
select conv(255, 10, 16 "p3");
387
ERROR 42000: Incorrect parameters in the call to native function 'conv'
388
select conv(255 AS p1, 10 AS p2, 16 AS p3);
389
ERROR 42000: Incorrect parameters in the call to native function 'conv'
390
select atan(10);
391
atan(10)
392
1.4711276743037347
393
select atan(10 AS p1);
394
ERROR 42000: Incorrect parameters in the call to native function 'atan'
395
select atan(10 p1);
396
ERROR 42000: Incorrect parameters in the call to native function 'atan'
397
select atan(10 AS "p1");
398
ERROR 42000: Incorrect parameters in the call to native function 'atan'
399
select atan(10 "p1");
400
ERROR 42000: Incorrect parameters in the call to native function 'atan'
401
select atan(10, 20);
402
atan(10, 20)
403
0.4636476090008061
404
select atan(10 AS p1, 20);
405
ERROR 42000: Incorrect parameters in the call to native function 'atan'
406
select atan(10 p1, 20);
407
ERROR 42000: Incorrect parameters in the call to native function 'atan'
408
select atan(10 AS "p1", 20);
409
ERROR 42000: Incorrect parameters in the call to native function 'atan'
410
select atan(10 "p1", 20);
411
ERROR 42000: Incorrect parameters in the call to native function 'atan'
412
select atan(10, 20 AS p2);
413
ERROR 42000: Incorrect parameters in the call to native function 'atan'
414
select atan(10, 20 p2);
415
ERROR 42000: Incorrect parameters in the call to native function 'atan'
416
select atan(10, 20 AS "p2");
417
ERROR 42000: Incorrect parameters in the call to native function 'atan'
418
select atan(10, 20 "p2");
419
ERROR 42000: Incorrect parameters in the call to native function 'atan'
420
select atan(10 AS p1, 20 AS p2);
421
ERROR 42000: Incorrect parameters in the call to native function 'atan'
422
DROP TABLE IF EXISTS t1;
423
SELECT "1997-12-31 23:59:59" + INTERVAL 1 SECOND;
424
"1997-12-31 23:59:59" + INTERVAL 1 SECOND
425
1998-01-01 00:00:00
426
SELECT 1 + INTERVAL(1,0,1,2) + 1;
427
1 + INTERVAL(1,0,1,2) + 1
428
4
520.1.8 by Brian Aker
Updating tests.
429
SELECT INTERVAL(1,0,1,2) + 1;
430
INTERVAL(1,0,1,2) + 1
431
3
1 by brian
clean slate
432
SELECT INTERVAL(1,0+1,2,3) * 5.5;
433
INTERVAL(1,0+1,2,3) * 5.5
434
5.5
435
SELECT INTERVAL(3,3,1+3,4+4) / 0.5;
436
INTERVAL(3,3,1+3,4+4) / 0.5
437
2.0000
438
SELECT (INTERVAL(1,0,1,2) + 5) * 7 + INTERVAL(1,0,1,2) / 2;
439
(INTERVAL(1,0,1,2) + 5) * 7 + INTERVAL(1,0,1,2) / 2
440
50.0000
441
SELECT INTERVAL(1,0,1,2) + 1, 5 * INTERVAL(1,0,1,2);
442
INTERVAL(1,0,1,2) + 1	5 * INTERVAL(1,0,1,2)
443
3	10
444
SELECT INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3);
445
INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3)
446
2
447
CREATE TABLE t1 (a INT, b DATETIME);
448
INSERT INTO t1 VALUES (INTERVAL(3,2,1) + 1, "1997-12-31 23:59:59" + INTERVAL 1 SECOND);
449
SELECT * FROM t1 WHERE a = INTERVAL(3,2,1) + 1;
450
a	b
451
3	1998-01-01 00:00:00
452
DROP TABLE t1;
453
DROP TABLE IF EXISTS t1,t2,t3;
454
CREATE TABLE t1 (a1 INT, a2 INT, a3 INT, a4 DATETIME);
455
CREATE TABLE t2 LIKE t1;
456
CREATE TABLE t3 LIKE t1;
457
SELECT t1.* FROM t1 AS t0, { OJ t2 INNER JOIN t1 ON (t1.a1=t2.a1) } WHERE t0.a3=2;
458
a1	a2	a3	a4
459
SELECT t1.*,t2.* FROM { OJ ((t1 INNER JOIN t2 ON (t1.a1=t2.a2)) LEFT OUTER JOIN t3 ON t3.a3=t2.a1)};
460
a1	a2	a3	a4	a1	a2	a3	a4
461
SELECT t1.*,t2.* FROM { OJ ((t1 LEFT OUTER JOIN t2 ON t1.a3=t2.a2) INNER JOIN t3 ON (t3.a1=t2.a2))};
462
a1	a2	a3	a4	a1	a2	a3	a4
463
SELECT t1.*,t2.* FROM { OJ (t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a2) CROSS JOIN t3 ON (t3.a2=t2.a3)};
464
a1	a2	a3	a4	a1	a2	a3	a4
465
SELECT * FROM {oj t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a3} WHERE t1.a2 > 10;
466
a1	a2	a3	a4	a1	a2	a3	a4
467
SELECT {fn CONCAT(a1,a2)} FROM t1;
468
{fn CONCAT(a1,a2)}
469
UPDATE t3 SET a4={d '1789-07-14'} WHERE a1=0;
470
SELECT a1, a4 FROM t2 WHERE a4 LIKE {fn UCASE('1789-07-14')};
471
a1	a4
472
DROP TABLE t1, t2, t3;
473
BACKUP DATABASE *, test to 'broken.bak';
629.2.6 by Monty
Updated test output with new and improved error messages.
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
1 by brian
clean slate
475
BACKUP DATABASE *, db1, db2, db3 to 'broken.bak';
629.2.6 by Monty
Updated test output with new and improved error messages.
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