~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 */;
1 by brian
clean slate
14
1
15
1
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*/;
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 '2*/' at line 1
1 by brian
clean slate
33
select 1/*!999992*/;
34
1
35
1
36
select 1 + /*!00000 2 */ + 3 /*!99999 noise*/ + 4;
37
1 +  2  + 3  + 4
38
10