No that query is only in one spot in the program unless this is something you have altered. There is no other response I can give.
You can check your revshow.php script for that query and see what I mean. That query is only ran when visiting the script and we do not show that script unless there are comments. You would only get an error is someone was trying to run that script and there are no comments.