]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixed a regression caused by :ticket:`2410` whereby a
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Dec 2012 21:31:41 +0000 (16:31 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Dec 2012 21:31:41 +0000 (16:31 -0500)
commitfbd81de0ebdbc54b0df6ba08cc8309e1328888fa
tree2dd468791587e60966d5122f0c6cedabf22c1dea
parentd9d6dcea77a848ed9acf5611abb4d00387737e17
Fixed a regression caused by :ticket:`2410` whereby a
:class:`.CheckConstraint` would apply itself back to the
original table during a :meth:`.Table.tometadata` operation, as
it would parse the SQL expression for a parent table. The
operation now copies the given expression to correspond to the
new table.
[ticket:2633]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/schema.py
lib/sqlalchemy/util/langhelpers.py
test/sql/test_constraints.py