]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The MySQL dialect will now disable :meth:`.ConnectionEvents.handle_error`
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Jul 2014 16:14:22 +0000 (12:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Jul 2014 16:14:22 +0000 (12:14 -0400)
commit6b60d3a9e6ba93d177ac777bfaae8269c18ddee6
treed663ca41f3bf05fcfbae2755426469cae5f855f1
parent8560522ff0244c93dab62276f9ba445df90f0d39
- The MySQL dialect will now disable :meth:`.ConnectionEvents.handle_error`
events from firing for those statements which it uses internally
to detect if a table exists or not.   This is achieved using an
execution option ``skip_user_error_events`` that disables the handle
error event for the scope of that execution.   In this way, user code
that rewrites exceptions doesn't need to worry about the MySQL
dialect or other dialects that occasionally need to catch
SQLAlchemy specific exceptions.
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/events.py
test/engine/test_execute.py