5b36e169ea
Some module reloading scenarios such as that which occurs within mod_wsgi mean that an existing module-level enginefacade is already in the "started" state, however initialization routines from the calling application may still attempt to call the ``.configure`` method. Add a new flag is_started to both _TransactionContextManager and _TransactionFactory so that calling code can check for this state ahead of time; additionally, promote the TypeError raised to a specific subclass enginefacade.AlreadyStartedError to allow for better optimistic schemes. Change-Id: I2f5a9e35c2fae0c28b78beef3dcd2c4794362766 References: I704196711d30c1124e713ac31111a8ea6fa2f1ba |
||
---|---|---|
.. | ||
add_connection_parameters-231aa7d8b7d2d416.yaml | ||
add_facade_started-14f9bc34fac89371.yaml | ||
add-reno-e5c2f63e73c25959.yaml | ||
connection_debug_min_max-bf6d53d49be7ca52.yaml | ||
deprecate_config_sqlite_db-bd41d49343049319.yaml | ||
deprecate_idle_timeout-029d9f2cb7184b28.yaml | ||
deprecate-insert-from-select-ea831381ebd7e7cf.yaml | ||
enginefacade_decorators-4660862fe22d2669.yaml | ||
fix_synchronous_reader-ca442ca9f07470ec.yaml | ||
increase-default-max-overflow-0af787268807f926.yaml | ||
MySQL-python-no-longer-tested-2a6c32cce6b03215.yaml | ||
new-db-fixtures-58223e3926122413.yaml | ||
remove-config-option-sqlite_db-7b7c6459135fd8c9.yaml | ||
warn-incomplete-url-c44cd03baf630c7c.yaml | ||
wrap_db_retry-34c7ff2d82afa3f5.yaml |