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.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=71372
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.)