]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where CREATE TABLE with a no-column table, but a constraint
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Dec 2015 00:03:03 +0000 (19:03 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Dec 2015 00:04:48 +0000 (19:04 -0500)
commit7b5fd86a42cf45210596eb411fb201d01c1811e0
treed220ed275d5827623eafbd6f2c17fee5966d7153
parentb30390bfb3a6fda575f2da61d2a58fb12203ad1e
- Fixed bug where CREATE TABLE with a no-column table, but a constraint
such as a CHECK constraint would render an erroneous comma in the
definition; this scenario can occur such as with a Postgresql
INHERITS table that has no columns of its own.
fixes #3598

(cherry picked from commit 9695faf32981406b12a6468b98d5c9b673f8e219)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py