~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
select 1+2/*hello*/+3;
2
1+2/*hello*/+3
3
6
4
select 1 /* long
5
multi line comment */;
6
1
7
1
8
;
9
ERROR 42000: Query was empty
10
select 1 /*!32301 +1 */;
11
1  +1
12
2
28.1.12 by Monty Taylor
Merged in changes.
13
select 1 /*!72301 +1 */;
908.1.15 by Monty Taylor
Updated comment version indicators to handle drizzle versions.
14
1  +1
15
2
1 by brian
clean slate
16
select 1--1;
17
1--1
18
2
19
select 1 --2
20
+1;
21
1 --2
22
+1
23
4
24
select 1 # The rest of the row will be ignored
25
;
26
1
27
1
28
/* line with only comment */;
29
select 1/*!2*/;
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 '2*/' at line 1
1 by brian
clean slate
31
select 1/*!000002*/;
908.1.15 by Monty Taylor
Updated comment version indicators to handle drizzle versions.
32
1
33
1
34
select 1/*!2038129999 2*/;
35
1
36
1
37
select 1 + /*!00000 2 */ + 3 /*!2038129999 noise*/ + 4;
1 by brian
clean slate
38
1 +  2  + 3  + 4
39
10