]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed SQL compiler's awareness of top-level column labels as used
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Oct 2007 16:03:59 +0000 (16:03 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Oct 2007 16:03:59 +0000 (16:03 +0000)
commit9b22fc0a9b5a6e97129096dd5ee8b3eb24895ac4
tree798ca0b3fdffe8c045e50e09793ffbfc0adb032e
parent9226871456014f1283633ead19fac23487a0e429
- Fixed SQL compiler's awareness of top-level column labels as used
  in result-set processing; nested selects which contain the same column
  names don't affect the result or conflict with result-column metadata.

- query.get() and related functions (like many-to-one lazyloading)
  use compile-time-aliased bind parameter names, to prevent
  name conflicts with bind parameters that already exist in the
  mapped selectable.
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql/compiler.py
test/orm/mapper.py
test/orm/query.py
test/sql/query.py