~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;
1309.4.3 by Brian Aker
Refactor DESC to use new table.
244
Field	Type	Null	Default	Default_is_NULL	On_Update
1660 by Brian Aker
MErge in change to do YES/NO like standard requires.
245
"blah" - 1	DOUBLE	NO		NO	
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);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
261
ERROR 42000: Incorrect parameter count in the call to native function 'atan'
1 by brian
clean slate
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);
1759.3.1 by Stewart Smith
move ABS() function into math_functions plugin. We now have '3 AS three' allowed as a parameter, just like all the UDFs did
325
abs(3 AS three)
326
3
1 by brian
clean slate
327
select abs(3 three);
1759.3.1 by Stewart Smith
move ABS() function into math_functions plugin. We now have '3 AS three' allowed as a parameter, just like all the UDFs did
328
abs(3 three)
329
3
1 by brian
clean slate
330
select abs(3 AS "three");
1759.3.1 by Stewart Smith
move ABS() function into math_functions plugin. We now have '3 AS three' allowed as a parameter, just like all the UDFs did
331
abs(3 AS "three")
332
3
1 by brian
clean slate
333
select abs(3 "three");
1759.3.1 by Stewart Smith
move ABS() function into math_functions plugin. We now have '3 AS three' allowed as a parameter, just like all the UDFs did
334
abs(3 "three")
335
3
1 by brian
clean slate
336
set @bar="bar";
337
set @foobar="foobar";
338
select instr("foobar", "bar");
339
instr("foobar", "bar")
340
4
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
ERROR 42000: Incorrect parameters in the call to native function 'instr'
345
select instr("foobar" AS "p1", "bar");
346
ERROR 42000: Incorrect parameters in the call to native function 'instr'
347
select instr("foobar" "p1", "bar");
348
instr("foobar" "p1", "bar")
349
4
350
select instr(@foobar "p1", "bar");
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
ERROR 42000: Incorrect parameters in the call to native function 'instr'
356
select instr("foobar", "bar" AS "p2");
357
ERROR 42000: Incorrect parameters in the call to native function 'instr'
358
select instr("foobar", "bar" "p2");
359
instr("foobar", "bar" "p2")
360
0
361
select instr("foobar", @bar "p2");
362
ERROR 42000: Incorrect parameters in the call to native function 'instr'
363
select instr("foobar" AS p1, "bar" AS p2);
364
ERROR 42000: Incorrect parameters in the call to native function 'instr'
365
select conv(255, 10, 16);
366
conv(255, 10, 16)
367
FF
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 AS "p1", 10, 16);
373
ERROR 42000: Incorrect parameters in the call to native function 'conv'
374
select conv(255 "p1", 10, 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 AS "p2", 16);
381
ERROR 42000: Incorrect parameters in the call to native function 'conv'
382
select conv(255, 10 "p2", 16);
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, 10, 16 AS "p3");
389
ERROR 42000: Incorrect parameters in the call to native function 'conv'
390
select conv(255, 10, 16 "p3");
391
ERROR 42000: Incorrect parameters in the call to native function 'conv'
392
select conv(255 AS p1, 10 AS p2, 16 AS p3);
393
ERROR 42000: Incorrect parameters in the call to native function 'conv'
394
select atan(10);
395
atan(10)
1108.5.2 by rm
fix test results so they expect valid precision, rather than more than can be relied upon
396
1.47112767430373
1 by brian
clean slate
397
select atan(10 AS p1);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
398
atan(10 AS p1)
399
1.47112767430373
1 by brian
clean slate
400
select atan(10 p1);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
401
atan(10 p1)
402
1.47112767430373
1 by brian
clean slate
403
select atan(10 AS "p1");
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
404
atan(10 AS "p1")
405
1.47112767430373
1 by brian
clean slate
406
select atan(10 "p1");
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
407
atan(10 "p1")
408
1.47112767430373
1 by brian
clean slate
409
select atan(10, 20);
410
atan(10, 20)
1108.5.2 by rm
fix test results so they expect valid precision, rather than more than can be relied upon
411
0.463647609000806
1 by brian
clean slate
412
select atan(10 AS p1, 20);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
413
atan(10 AS p1, 20)
414
0.463647609000806
1 by brian
clean slate
415
select atan(10 p1, 20);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
416
atan(10 p1, 20)
417
0.463647609000806
1 by brian
clean slate
418
select atan(10 AS "p1", 20);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
419
atan(10 AS "p1", 20)
420
0.463647609000806
1 by brian
clean slate
421
select atan(10 "p1", 20);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
422
atan(10 "p1", 20)
423
0.463647609000806
1 by brian
clean slate
424
select atan(10, 20 AS p2);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
425
atan(10, 20 AS p2)
426
0.463647609000806
1 by brian
clean slate
427
select atan(10, 20 p2);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
428
atan(10, 20 p2)
429
0.463647609000806
1 by brian
clean slate
430
select atan(10, 20 AS "p2");
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
431
atan(10, 20 AS "p2")
432
0.463647609000806
1 by brian
clean slate
433
select atan(10, 20 "p2");
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
434
atan(10, 20 "p2")
435
0.463647609000806
1 by brian
clean slate
436
select atan(10 AS p1, 20 AS p2);
1759.3.4 by Stewart Smith
move ATAN() and ATAN2() function into math_functions plugin. ATAN2() is just another instance of ATAN()
437
atan(10 AS p1, 20 AS p2)
438
0.463647609000806
1 by brian
clean slate
439
DROP TABLE IF EXISTS t1;
440
SELECT "1997-12-31 23:59:59" + INTERVAL 1 SECOND;
441
"1997-12-31 23:59:59" + INTERVAL 1 SECOND
442
1998-01-01 00:00:00
443
SELECT 1 + INTERVAL(1,0,1,2) + 1;
444
1 + INTERVAL(1,0,1,2) + 1
445
4
520.1.8 by Brian Aker
Updating tests.
446
SELECT INTERVAL(1,0,1,2) + 1;
447
INTERVAL(1,0,1,2) + 1
448
3
1 by brian
clean slate
449
SELECT INTERVAL(1,0+1,2,3) * 5.5;
450
INTERVAL(1,0+1,2,3) * 5.5
451
5.5
452
SELECT INTERVAL(3,3,1+3,4+4) / 0.5;
453
INTERVAL(3,3,1+3,4+4) / 0.5
454
2.0000
455
SELECT (INTERVAL(1,0,1,2) + 5) * 7 + INTERVAL(1,0,1,2) / 2;
456
(INTERVAL(1,0,1,2) + 5) * 7 + INTERVAL(1,0,1,2) / 2
457
50.0000
458
SELECT INTERVAL(1,0,1,2) + 1, 5 * INTERVAL(1,0,1,2);
459
INTERVAL(1,0,1,2) + 1	5 * INTERVAL(1,0,1,2)
460
3	10
461
SELECT INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3);
462
INTERVAL(0,(1*5)/2) + INTERVAL(5,4,3)
463
2
464
CREATE TABLE t1 (a INT, b DATETIME);
465
INSERT INTO t1 VALUES (INTERVAL(3,2,1) + 1, "1997-12-31 23:59:59" + INTERVAL 1 SECOND);
466
SELECT * FROM t1 WHERE a = INTERVAL(3,2,1) + 1;
467
a	b
468
3	1998-01-01 00:00:00
469
DROP TABLE t1;
470
DROP TABLE IF EXISTS t1,t2,t3;
471
CREATE TABLE t1 (a1 INT, a2 INT, a3 INT, a4 DATETIME);
472
CREATE TABLE t2 LIKE t1;
473
CREATE TABLE t3 LIKE t1;
474
SELECT t1.* FROM t1 AS t0, { OJ t2 INNER JOIN t1 ON (t1.a1=t2.a1) } WHERE t0.a3=2;
475
a1	a2	a3	a4
476
SELECT t1.*,t2.* FROM { OJ ((t1 INNER JOIN t2 ON (t1.a1=t2.a2)) LEFT OUTER JOIN t3 ON t3.a3=t2.a1)};
477
a1	a2	a3	a4	a1	a2	a3	a4
478
SELECT t1.*,t2.* FROM { OJ ((t1 LEFT OUTER JOIN t2 ON t1.a3=t2.a2) INNER JOIN t3 ON (t3.a1=t2.a2))};
479
a1	a2	a3	a4	a1	a2	a3	a4
480
SELECT t1.*,t2.* FROM { OJ (t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a2) CROSS JOIN t3 ON (t3.a2=t2.a3)};
1637.1.3 by Brian Aker
This fixes the parser to no longer do the bad syntax around the cross join
481
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 'ON (t3.a2=t2.a3)}' at line 1
482
SELECT t1.*,t2.* FROM { OJ (t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a2) INNER JOIN t3 ON (t3.a2=t2.a3)};
1 by brian
clean slate
483
a1	a2	a3	a4	a1	a2	a3	a4
484
SELECT * FROM {oj t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a3} WHERE t1.a2 > 10;
485
a1	a2	a3	a4	a1	a2	a3	a4
486
SELECT {fn CONCAT(a1,a2)} FROM t1;
487
{fn CONCAT(a1,a2)}
488
UPDATE t3 SET a4={d '1789-07-14'} WHERE a1=0;
489
SELECT a1, a4 FROM t2 WHERE a4 LIKE {fn UCASE('1789-07-14')};
490
a1	a4
491
DROP TABLE t1, t2, t3;
492
BACKUP DATABASE *, test to 'broken.bak';
629.2.6 by Monty
Updated test output with new and improved error messages.
493
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
494
BACKUP DATABASE *, db1, db2, db3 to 'broken.bak';
629.2.6 by Monty
Updated test output with new and improved error messages.
495
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