Re: [Sqlalchemy-users] Polymorph select doesn't work with MySQL

2006-05-17 Thread Michael Bayer
I just committed this change, and re-tested the examples/polymorph/ polymorph.py example against mysql for it: Index: lib/sqlalchemy/orm/util.py === --- lib/sqlalchemy/orm/util.py (revision 1468) +++ lib/sqlalchemy/orm/util.py (re

[Sqlalchemy-users] Polymorph select doesn't work with MySQL

2006-05-16 Thread j.kartnaller
This is for the actual Schema branch (Sa 0.2 rev. 1468). Using polymorphism as it is shown in the examples creates a SQL query like this : SELECT pjoin.info AS pjoin_info, pjoin.parent_id AS pjoin_parent_id, pjoin.type AS pjoin_type, pjoin.id AS pjoin_id FROM ( SELECT info