]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The execution options passed to an :class:`.Engine` either via
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Oct 2014 22:23:42 +0000 (18:23 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Oct 2014 22:24:11 +0000 (18:24 -0400)
commit96e17a14c5f238ddda546b5681cf2c791c66242b
tree247cd9196950b0cf178b51a31e873cb90811d274
parent49f4d98c04f2224903e54e0eb3e3f901a27d1e38
- The execution options passed to an :class:`.Engine` either via
:paramref:`.create_engine.execution_options` or
:meth:`.Engine.update_execution_options` are not passed to the
special :class:`.Connection` used to initialize the dialect
within the "first connect" event; dialects will usually
perform their own queries in this phase, and none of the
current available  options should be applied here.  In
particular, the "autocommit" option was causing an attempt to
autocommit within this initial connect which would fail with
an AttributeError due to the non-standard state of the
:class:`.Connection`.
fixes #3200
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/strategies.py
test/engine/test_execute.py