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

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/comments.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Testing of comments
 
3
#
 
4
 
 
5
select 1+2/*hello*/+3;
 
6
select 1 /* long
 
7
multi line comment */;
 
8
--error ER_EMPTY_QUERY
 
9
 ;
 
10
select 1 /*!32301 +1 */;
 
11
select 1 /*!72301 +1 */;
 
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
 
 
32
select 1/*!2038129999 2*/;
 
33
 
 
34
select 1 + /*!00000 2 */ + 3 /*!2038129999 noise*/ + 4;