diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-20 10:26:09 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-20 10:26:35 -0500 |
| commit | ae3c57f492c5ade1afd8b010f7d9f2db740eb595 (patch) | |
| tree | 7c13aba96c4a09f4e7be6fe0d0f6114597308fe1 /doc | |
| parent | 2042493228a92fede38f39cd144d6ea74abbcb21 (diff) | |
| download | sqlalchemy-ae3c57f492c5ade1afd8b010f7d9f2db740eb595.tar.gz | |
- Fixed issue where a primary key column that has a Sequence on it,
yet the column is not the "auto increment" column, either because
it has a foreign key constraint or ``autoincrement=False`` set,
would attempt to fire the Sequence on INSERT for backends that don't
support sequences, when presented with an INSERT missing the primary
key value. This would take place on non-sequence backends like
SQLite, MySQL. [ticket:2896]
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_08.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst index 5b6a99f3e..08f8314c5 100644 --- a/doc/build/changelog/changelog_08.rst +++ b/doc/build/changelog/changelog_08.rst @@ -14,6 +14,19 @@ .. change:: :tags: bug, sql :versions: 0.9.0b2 + :tickets: 2896 + + Fixed issue where a primary key column that has a Sequence on it, + yet the column is not the "auto increment" column, either because + it has a foreign key constraint or ``autoincrement=False`` set, + would attempt to fire the Sequence on INSERT for backends that don't + support sequences, when presented with an INSERT missing the primary + key value. This would take place on non-sequence backends like + SQLite, MySQL. + + .. change:: + :tags: bug, sql + :versions: 0.9.0b2 :tickets: 2895 Fixed bug with :meth:`.Insert.from_select` method where the order |
