[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-09-29 22:10:48
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/4da020dae324/ Changeset: 4da020dae324 Branch: None User: zzzeek Date: 2014-09-29 22:09:25+00:00 Summary: - rework tests for attached databases into individual tests, test both memory and file-based - When selecting from a UNION using an attached database file, the pysqlite driver reports column names in cursor.description as 'dbname.tablename.colname', instead of 'tablename.colname' as it normally does for a UNION (note that it's supposed to just be 'colname' for both, but we work around it). The column translation logic here has been adjusted to retrieve the rightmost token, rather than the second token, so it works in both cases. Workaround courtesy Tony Roberts. fixes #3211 Affected #: 3 files https://bitbucket.org/zzzeek/sqlalchemy/commits/49f4d98c04f2/ Changeset: 49f4d98c04f2 Branch: rel_0_9 User: zzzeek Date: 2014-09-29 22:10:32+00:00 Summary: - rework tests for attached databases into individual tests, test both memory and file-based - When selecting from a UNION using an attached database file, the pysqlite driver reports column names in cursor.description as 'dbname.tablename.colname', instead of 'tablename.colname' as it normally does for a UNION (note that it's supposed to just be 'colname' for both, but we work around it). The column translation logic here has been adjusted to retrieve the rightmost token, rather than the second token, so it works in both cases. Workaround courtesy Tony Roberts. fixes #3211 Affected #: 3 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |