Re:MySQL query comments in Rails
by Gigablah on Wednesday April 25, 2012 @05:18AM
(#3888291)
I think if you just prepend C-style comments (e.g. /* test */ SELECT...) it should still work with the query cache [1]. But leading line comments (like --) will not work [2].
[1] http://bugs.mysql.com/bug.php?id=824
[2] http://bugs.mysql.com/bug.php?id=40986