You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.8 KiB

  1. --source include/percona_query_cache_with_comments_clear.inc
  2. let $query=/* with comment first */select * from t1;
  3. eval $query;
  4. --source include/percona_query_cache_with_comments_eval.inc
  5. let $query=# with comment first
  6. select * from t1;
  7. --source include/percona_query_cache_with_comments_eval.inc
  8. let $query=-- with comment first
  9. select * from t1;
  10. --source include/percona_query_cache_with_comments_eval.inc
  11. let $query=/* with comment first and "quote" */select * from t1;
  12. --source include/percona_query_cache_with_comments_eval.inc
  13. let $query=# with comment first and "quote"
  14. select * from t1;
  15. --source include/percona_query_cache_with_comments_eval.inc
  16. let $query=-- with comment first and "quote"
  17. select * from t1;
  18. --source include/percona_query_cache_with_comments_eval.inc
  19. let $query=
  20. /* with comment and whitespaces first */select * from t1;
  21. --source include/percona_query_cache_with_comments_eval.inc
  22. let $query=
  23. # with comment and whitespaces first
  24. select * from t1;
  25. --source include/percona_query_cache_with_comments_eval.inc
  26. let $query=
  27. -- with comment and whitespaces first
  28. select * from t1;
  29. --source include/percona_query_cache_with_comments_eval.inc
  30. let $internal=* internal comment *;
  31. let $query=select * /$internal/ from t1;
  32. --source include/percona_query_cache_with_comments_eval.inc
  33. let $query=select */$internal/ from t1;
  34. --source include/percona_query_cache_with_comments_eval.inc
  35. let $query=select */$internal/from t1;
  36. --source include/percona_query_cache_with_comments_eval.inc
  37. let $internal=* internal comment with "quote" *;
  38. let $query=select * /$internal/ from t1;
  39. --source include/percona_query_cache_with_comments_eval.inc
  40. let $query=select */$internal/ from t1;
  41. --source include/percona_query_cache_with_comments_eval.inc
  42. let $query=select */$internal/from t1;
  43. --source include/percona_query_cache_with_comments_eval.inc
  44. let $query=select * from t1
  45. ;
  46. --source include/percona_query_cache_with_comments_eval.inc
  47. let $query=select * from t1 ;
  48. --source include/percona_query_cache_with_comments_eval.inc
  49. let $query=select * from t1 ;
  50. --source include/percona_query_cache_with_comments_eval.inc
  51. let $query=select * from t1
  52. /* comment in the end */;
  53. --source include/percona_query_cache_with_comments_eval.inc
  54. let $query=select * from t1
  55. /* comment in the end */
  56. ;
  57. --source include/percona_query_cache_with_comments_eval.inc
  58. let $query=select * from t1 #comment in the end;
  59. --source include/percona_query_cache_with_comments_eval.inc
  60. let $query=select * from t1 #comment in the end
  61. ;
  62. --source include/percona_query_cache_with_comments_eval.inc
  63. let $query=select * from t1 -- comment in the end;
  64. --source include/percona_query_cache_with_comments_eval.inc
  65. let $query=select * from t1 -- comment in the end
  66. ;
  67. --source include/percona_query_cache_with_comments_eval.inc