diff options
| author | Brant Knudson <bknudson@us.ibm.com> | 2013-05-15 21:37:22 -0500 |
|---|---|---|
| committer | Brant Knudson <bknudson@us.ibm.com> | 2013-06-04 15:13:34 -0500 |
| commit | 316f059a0e18e705c0fe276f181445b05ba087ea (patch) | |
| tree | 16b59bb63aa6dee15e2c7882df5976bb4f266df5 /docs | |
| parent | 0c9538d24462f64bdff64a6d80492b29a6232189 (diff) | |
Base.get_engine honor allow_global_engine=False
This change makes it so that get_engine() in
keystone.common.sql.core.Base does not return the global engine
when allow_global_engine is False.
The behavior before could be described like:
If get_engine() has never been called with allow_global_engine=True,
then if you pass allow_global_engine=False returns a new engine.
Otherwise, you always get the global engine (even if
allow_global_engine=False)
The new behavior is:
If get_engine() is called with allow_global_engine=True then
it returns the global engine, otherwise it returns a new engine.
Change-Id: I756b54d9f3984733f56d09c11b2702c3451102f2
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
