Normally, when I have a comment that I want within a query, I use a #. But, we recently upgraded MySQL on our test server (I believe it is now 4.0.22?) and now every query with a # totally wonks out. Does anyone know if there is a mysql configuration setting that will make this work again?
If I wasn't dealing with code that had references to hexidecimal values (starting with #) I could just grep the server and manually remove all instances where I used this method for comments. As it is, there is way too much code and I don't want to risk missing a little #.
Any thoughts?