~s7v7nislands/myconnpy/speed

Viewing all changes in revision 198.

  • Committer: Geert Vanderkelen
  • Date: 2010-01-26 11:50:19 UTC
  • Revision ID: geert.vanderkelen@sun.com-20100126115019-608hwfvm8cy2nuj8
Exception raised in protocol module using errors.get_mysql_exception

* Replaced raise_mysql_error with get_mysql_exception which is returning an
exception object based on the errno.
* We use get_mysql_exception in protocol when handling the error, and not
anymore in the Cursor.
* Some correction to errors.Error to message is kept.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: