~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/r/comments.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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 /*!62301 +1 */;
 
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*/;
 
30
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2*/' at line 1
 
31
select 1/*!000002*/;
 
32
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2*/' at line 1
 
33
select 1/*!999992*/;
 
34
1
 
35
1
 
36
select 1 + /*!00000 2 */ + 3 /*!99999 noise*/ + 4;
 
37
1 +  2  + 3  + 4
 
38
10