[Sqlalchemy-commits] commit/sqlalchemy: 5 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-03-28 20:41:52
|
5 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/c01558ae7f4a/ Changeset: c01558ae7f4a Branch: None User: zzzeek Date: 2014-03-28 21:32:11 Summary: - Fixed ORM bug where changing the primary key of an object, then marking it for DELETE would fail to target the correct row for DELETE. Then to compound matters, basic "number of rows matched" checks were not being performed. Both issues are fixed, however note that the "rows matched" check requires so-called "sane multi-row count" functionality; the DBAPI's executemany() method must count up the rows matched by individual statements and SQLAlchemy's dialect must mark this feature as supported, currently applies to some mysql dialects, psycopg2, sqlite only. fixes #3006 - Enabled "sane multi-row count" checking for the psycopg2 DBAPI, as this seems to be supported as of psycopg2 2.0.9. Affected #: 10 files https://bitbucket.org/zzzeek/sqlalchemy/commits/e789a75f9a32/ Changeset: e789a75f9a32 Branch: rel_0_8 User: zzzeek Date: 2014-03-28 21:34:54 Summary: - Fixed ORM bug where changing the primary key of an object, then marking it for DELETE would fail to target the correct row for DELETE. Then to compound matters, basic "number of rows matched" checks were not being performed. Both issues are fixed, however note that the "rows matched" check requires so-called "sane multi-row count" functionality; the DBAPI's executemany() method must count up the rows matched by individual statements and SQLAlchemy's dialect must mark this feature as supported, currently applies to some mysql dialects, psycopg2, sqlite only. fixes #3006 - Enabled "sane multi-row count" checking for the psycopg2 DBAPI, as this seems to be supported as of psycopg2 2.0.9. Conflicts: test/orm/test_naturalpks.py test/requirements.py Affected #: 10 files https://bitbucket.org/zzzeek/sqlalchemy/commits/28aaa5938797/ Changeset: 28aaa5938797 Branch: None User: zzzeek Date: 2014-03-28 21:36:11 Summary: - fix set syntax supposed to be dict Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/a04fb820289d/ Changeset: a04fb820289d Branch: None User: zzzeek Date: 2014-03-28 21:37:43 Summary: pickle of execption not supported on mysqlconnector Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/9c731b2ebf49/ Changeset: 9c731b2ebf49 Branch: None User: zzzeek Date: 2014-03-28 21:41:08 Summary: - add further coverage for join_condition to make sure we get this case where there are multiple, equivalent foreign keys Affected #: 2 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. |