summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-02-13 11:26:54 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-02-13 11:26:54 -0500
commit71d642711d26ee8e1e7e8b19d70be8be1eca22eb (patch)
treeedaf76ca61a1cd35ee365cf99ddd3fd745358877 /doc
parent5cc5234e0b065907deb2765249dde1c526fe5c89 (diff)
downloadsqlalchemy-71d642711d26ee8e1e7e8b19d70be8be1eca22eb.tar.gz
Set IDENTITY_INSERT for insert.values({column: expr})
Fixed bug where the SQL Server "IDENTITY_INSERT" logic that allows an INSERT to proceed with an explicit value on an IDENTITY column was not detecting the case where :meth:`.Insert.values` were used with a dictionary that contained a :class:`.Column` as key and a SQL expression as a value. Fixes: #4499 Change-Id: Ia61cd6524b030b40a665db9c20771f0c5aa5fcd7
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_12/4499.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4499.rst b/doc/build/changelog/unreleased_12/4499.rst
new file mode 100644
index 000000000..ca6be04ae
--- /dev/null
+++ b/doc/build/changelog/unreleased_12/4499.rst
@@ -0,0 +1,8 @@
+.. change::
+ :tags: bug, mssql
+ :tickets: 4499
+
+ Fixed bug where the SQL Server "IDENTITY_INSERT" logic that allows an INSERT
+ to proceed with an explicit value on an IDENTITY column was not detecting
+ the case where :meth:`.Insert.values` were used with a dictionary that
+ contained a :class:`.Column` as key and a SQL expression as a value.