summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-17 10:16:35 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-17 10:20:33 -0400
commit89608ccd3f5e5796d578e9a39201f7c5c45a61fe (patch)
tree7ab7811b5d233fc7f4433d8bdc6ee84d237e1537 /doc
parentacf7fbd60b9b1291dfc91438416867c88e94c5ba (diff)
downloadsqlalchemy-89608ccd3f5e5796d578e9a39201f7c5c45a61fe.tar.gz
dont assume _compile_options are present
Fixed bug where various ORM-specific getters such as :attr:`.ORMExecuteState.is_column_load`, :attr:`.ORMExecuteState.is_relationship_load`, :attr:`.ORMExecuteState.loader_strategy_path` etc. would throw an ``AttributeError`` if the SQL statement itself were a "compound select" such as a UNION. Fixes: #9634 Change-Id: Ia37df5d6f89d6534d69237dcab294bd849ece28b
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_14/9634.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_14/9634.rst b/doc/build/changelog/unreleased_14/9634.rst
new file mode 100644
index 000000000..664e85716
--- /dev/null
+++ b/doc/build/changelog/unreleased_14/9634.rst
@@ -0,0 +1,11 @@
+.. change::
+ :tags: bug, orm
+ :tickets: 9634
+ :versions: 2.0.10
+
+ Fixed bug where various ORM-specific getters such as
+ :attr:`.ORMExecuteState.is_column_load`,
+ :attr:`.ORMExecuteState.is_relationship_load`,
+ :attr:`.ORMExecuteState.loader_strategy_path` etc. would throw an
+ ``AttributeError`` if the SQL statement itself were a "compound select"
+ such as a UNION.