]> 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:05:15 +0000 (16:05 -0500)
commit2042493228a92fede38f39cd144d6ea74abbcb21
tree8c95e23bb8fe7a89ac2faf52f745aed15519d63b
parent3c4a565f2da0291b604f5a2cabe7054c8f8a2637
- 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/expression.py
test/sql/test_insert.py