]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug with :meth:`.Insert.from_select` method where the order
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Dec 2013 21:02:14 +0000 (16:02 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Dec 2013 21:02:14 +0000 (16:02 -0500)
commit5f76f29c15b7a23cfe29c5fbd22ad02452b6a2c0
tree022779ebba8df3b7d75d4c46fa7730f0f2d1fda5
parent47eb5682d1b8885c052e4bc50004af45b5f19174
- Fixed bug with :meth:`.Insert.from_select` method where the order
of the given names would not be taken into account when generating
the INSERT statement, thus producing a mismatch versus the column
names in the given SELECT statement.  Also noted that
:meth:`.Insert.from_select` implies that Python-side insert defaults
cannot be used, since the statement has no VALUES clause. [ticket:2895]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/dml.py
test/sql/test_insert.py