summaryrefslogtreecommitdiff
path: root/mysql-test/suite/percona/query_cache_enhance.patch/percona_query_cache_with_comments.inc.backup
blob: 4b5b31e92392bbaa4dfb543fcb1145c6997bd0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
--source include/percona_query_cache_with_comments_clear.inc
let $query=/* with comment first */select * from t1;
eval $query;
--source include/percona_query_cache_with_comments_eval.inc

let $query=# with comment first
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=-- with comment first
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=/* with comment first and "quote" */select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=# with comment first and "quote"
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=-- with comment first and "quote" 
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=
    /* with comment and whitespaces first */select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query= 
    # with comment and whitespaces first
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=
    -- with comment and whitespaces first
select * from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $internal=* internal comment *;

let $query=select * /$internal/ from t1;
--source include/percona_query_cache_with_comments_eval.inc
let $query=select */$internal/ from t1;
--source include/percona_query_cache_with_comments_eval.inc
let $query=select */$internal/from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $internal=* internal comment with "quote" *;

let $query=select * /$internal/ from t1;
--source include/percona_query_cache_with_comments_eval.inc
let $query=select */$internal/ from t1;
--source include/percona_query_cache_with_comments_eval.inc
let $query=select */$internal/from t1;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1
;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1 ;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1	;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1
/* comment in the end */;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1
/* comment in the end */
;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1 #comment in the end;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1 #comment in the end
;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1 -- comment in the end;
--source include/percona_query_cache_with_comments_eval.inc

let $query=select * from t1 -- comment in the end
;
--source include/percona_query_cache_with_comments_eval.inc