@Pragmatk: would you like sharing an instance in which the ANALYSE() procedure would cause an useful error (except for 1108 error messages, which is not useful)? I'm highly skeptic about it...
---
LIMIT 0,ASCII(SUBSTRING((SELECT user from mysql.user LIMIT 1),0,1)
---
Up to the recent version of mysql, I know none which will accept this type of limit condition...
---
LIMIT 0,IF(ASCII(SUBSTRING((SELECT user from mysql.user LIMIT 1),0,1)) > 127,1,2)
---
o_O I would like to see you testing the above methods.
Before helping other people, try to double check the things you say because you'll only end up confusing them.
---
blog [-]
microblog