~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#
2
# Testing of comments
3
#
4
5
select 1+2/*hello*/+3;
6
select 1 /* long
7
multi line comment */;
1731.3.1 by Lee Bieber
change tests to use enum values instead of error numbers
8
--error ER_EMPTY_QUERY
1 by brian
clean slate
9
 ;
10
select 1 /*!32301 +1 */;
28.1.12 by Monty Taylor
Merged in changes.
11
select 1 /*!72301 +1 */;
1 by brian
clean slate
12
select 1--1;
13
# Note that the following returns 4 while it should return 2
14
# This is because the mysqld server doesn't parse -- comments
15
select 1 --2
16
+1;
17
select 1 # The rest of the row will be ignored
18
;
19
/* line with only comment */;
20
21
# End of 4.1 tests
22
23
#
24
# Bug#25411 (trigger code truncated)
25
#
26
27
--error ER_PARSE_ERROR
28
select 1/*!2*/;
29
30
select 1/*!000002*/;
31
2221.1.7 by Monty Taylor
Update comments test based on new pandora version processing tag-based code.
32
select 1/*!203812999999 2*/;
1 by brian
clean slate
33
2221.1.7 by Monty Taylor
Update comments test based on new pandora version processing tag-based code.
34
select 1 + /*!00000 2 */ + 3 /*!203812999999 noise*/ + 4;