SQL syntax errors are being raised as
OperationalErrors instead of ProgrammingErrors.
Logged In: YES
ER_SYNTAX_ERROR was being translated to ProgrammingError.
However, MySQL returns ER_PARSE_ERROR when there is a SQL
syntax error. This has been added to the list of
ProgrammingError-raising codes. (To be in CVS real soon now.)
Log in to post a comment.