]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- refactor pool a bit so that intent between ConnectionRecord/ConnectionFairy is...
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Jul 2013 17:14:21 +0000 (13:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Jul 2013 17:14:21 +0000 (13:14 -0400)
commitd3d10c982c8a44c85a0114c491207297eac7611d
treebdfda394fb23cc8d65c0acb77ca070937d93580a
parent38c5e870a7883df0ae104df828217e326f6cff6a
- refactor pool a bit so that intent between ConnectionRecord/ConnectionFairy is clear;
make sure that the DBAPI connection passed to the reset-on-return events/dialect hooks
is also a "fairy", so that dictionaries like "info" are available.  [ticket:2770]
- rework the execution_options system so that the dialect is given the job of making
any immediate adjustments based on a set event.  move the "isolation level" logic to use
this new system.   Also work things out so that even engine-level execution options
can be used for things like isolation level; the dialect attaches a connect-event
handler in this case to handle the task.
- to support this new system as well as further extensibiltiy of execution options
add events engine_connect(), set_connection_execution_options(), set_engine_execution_options()
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/strategies.py
lib/sqlalchemy/events.py
lib/sqlalchemy/pool.py
test/engine/test_execute.py
test/engine/test_pool.py
test/engine/test_transaction.py
test/profiles.txt