~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/comments.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
13
select 1 /*!72301 +1 */;
 
14
1  +1
 
15
2
 
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*/;
 
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
 
31
select 1/*!000002*/;
 
32
1
 
33
1
 
34
select 1/*!2038129999 2*/;
 
35
1
 
36
1
 
37
select 1 + /*!00000 2 */ + 3 /*!2038129999 noise*/ + 4;
 
38
1 +  2  + 3  + 4
 
39
10