1
--source include/percona_query_cache_with_comments_clear.inc
2
let $query=/* with comment first */select * from t1;
4
--source include/percona_query_cache_with_comments_eval.inc
6
let $query=# with comment first
8
--source include/percona_query_cache_with_comments_eval.inc
10
let $query=-- with comment first
12
--source include/percona_query_cache_with_comments_eval.inc
14
let $query=/* with comment first and "quote" */select * from t1;
15
--source include/percona_query_cache_with_comments_eval.inc
17
let $query=# with comment first and "quote"
19
--source include/percona_query_cache_with_comments_eval.inc
21
let $query=-- with comment first and "quote"
23
--source include/percona_query_cache_with_comments_eval.inc
26
/* with comment and whitespaces first */select * from t1;
27
--source include/percona_query_cache_with_comments_eval.inc
30
# with comment and whitespaces first
32
--source include/percona_query_cache_with_comments_eval.inc
35
-- with comment and whitespaces first
37
--source include/percona_query_cache_with_comments_eval.inc
39
let $internal=* internal comment *;
41
let $query=select * /$internal/ from t1;
42
--source include/percona_query_cache_with_comments_eval.inc
43
let $query=select */$internal/ from t1;
44
--source include/percona_query_cache_with_comments_eval.inc
45
let $query=select */$internal/from t1;
46
--source include/percona_query_cache_with_comments_eval.inc
48
let $internal=* internal comment with "quote" *;
50
let $query=select * /$internal/ from t1;
51
--source include/percona_query_cache_with_comments_eval.inc
52
let $query=select */$internal/ from t1;
53
--source include/percona_query_cache_with_comments_eval.inc
54
let $query=select */$internal/from t1;
55
--source include/percona_query_cache_with_comments_eval.inc
57
let $query=select * from t1
59
--source include/percona_query_cache_with_comments_eval.inc
61
let $query=select * from t1 ;
62
--source include/percona_query_cache_with_comments_eval.inc
64
let $query=select * from t1 ;
65
--source include/percona_query_cache_with_comments_eval.inc
67
let $query=select * from t1
68
/* comment in the end */;
69
--source include/percona_query_cache_with_comments_eval.inc
71
let $query=select * from t1
72
/* comment in the end */
74
--source include/percona_query_cache_with_comments_eval.inc
76
let $query=select * from t1 #comment in the end;
77
--source include/percona_query_cache_with_comments_eval.inc
79
let $query=select * from t1 #comment in the end
81
--source include/percona_query_cache_with_comments_eval.inc
83
let $query=select * from t1 -- comment in the end;
84
--source include/percona_query_cache_with_comments_eval.inc
86
let $query=select * from t1 -- comment in the end
88
--source include/percona_query_cache_with_comments_eval.inc