summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2017-05-22 16:25:20 -0400
committerGerrit Code Review <gerrit@awstats.zzzcomputing.com>2017-05-22 16:25:20 -0400
commit92f789eba4a46a5c33c807c2f02c45b03cf9ee79 (patch)
treea316e2c64039f7d6fd40f827e7dcea4d18de2228 /doc
parent9f0fb6c601829cb7c9f449d57e12e8b95dab51f5 (diff)
parent0a67c1305266ba9c4558e371fa9b193788c65bea (diff)
downloadsqlalchemy-92f789eba4a46a5c33c807c2f02c45b03cf9ee79.tar.gz
Merge "Detect no params w/ manual version_id counter and set to itself"
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_12.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_12.rst b/doc/build/changelog/changelog_12.rst
index a96436aaf..8cc8cd862 100644
--- a/doc/build/changelog/changelog_12.rst
+++ b/doc/build/changelog/changelog_12.rst
@@ -13,6 +13,20 @@
.. changelog::
:version: 1.2.0b1
+ .. change:: 3996
+ :tags: bug, orm
+ :tickets: 3996
+
+ Fixed bug where programmatic version_id counter in conjunction with
+ joined table inheritance would fail if the version_id counter
+ were not actually incremented and no other values on the base table
+ were modified, as the UPDATE would have an empty SET clause. Since
+ programmatic version_id where version counter is not incremented
+ is a documented use case, this specific condition is now detected
+ and the UPDATE now sets the version_id value to itself, so that
+ concurrency checks still take place.
+
+
.. change:: 3796
:tags: bug, orm
:tickets: 3796