summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-10-18 14:44:01 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-10-18 14:44:01 -0400
commitca02882c6a0d66562d86bf55d5449a04825fa354 (patch)
tree1eb825a0de23204d9340f7f60d5ecffd13df3971 /doc
parenta5dc173ea6735c2b0877c771d2cb0693ac8dca82 (diff)
downloadsqlalchemy-ca02882c6a0d66562d86bf55d5449a04825fa354.tar.gz
- The change in :ticket:`2721`, which is that the ``deferrable`` keyword
of :class:`.ForeignKeyConstraint` is silently ignored on the MySQL backend, will be reverted as of 0.9; this keyword will now render again, raising errors on MySQL as it is not understood - the same behavior will also apply to the ``initially`` keyword. In 0.8, the keywords will remain ignored but a warning is emitted. Additionally, the ``match`` keyword now raises a :class:`.CompileError` on 0.9 and emits a warning on 0.8; this keyword is not only silently ignored by MySQL but also breaks the ON UPDATE/ON DELETE options. To use a :class:`.ForeignKeyConstraint` that does not render or renders differently on MySQL, use a custom compilation option. An example of this usage has been added to the documentation, see :ref:`mysql_foreign_keys`. [ticket:2721] [ticket:2839]
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_08.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst
index 054227bd7..7a3909a9a 100644
--- a/doc/build/changelog/changelog_08.rst
+++ b/doc/build/changelog/changelog_08.rst
@@ -11,6 +11,26 @@
:version: 0.8.3
.. change::
+ :tags: bug, mysql
+ :tickets: 2721, 2839
+ :versions: 0.9.0
+
+ The change in :ticket:`2721`, which is that the ``deferrable`` keyword
+ of :class:`.ForeignKeyConstraint` is silently ignored on the MySQL
+ backend, will be reverted as of 0.9; this keyword will now render again, raising
+ errors on MySQL as it is not understood - the same behavior will also
+ apply to the ``initially`` keyword. In 0.8, the keywords will remain
+ ignored but a warning is emitted. Additionally, the ``match`` keyword
+ now raises a :class:`.CompileError` on 0.9 and emits a warning on 0.8;
+ this keyword is not only silently ignored by MySQL but also breaks
+ the ON UPDATE/ON DELETE options.
+
+ To use a :class:`.ForeignKeyConstraint`
+ that does not render or renders differently on MySQL, use a custom
+ compilation option. An example of this usage has been added to the
+ documentation, see :ref:`mysql_foreign_keys`.
+
+ .. change::
:tags: bug, sql
:tickets: 2825
:versions: 0.9.0