[Checkins] [zopefoundation/zope.sqlalchemy] 970a2d: Add Testcase demonstrating fail on join

GitHub noreply at github.com
Fri Aug 30 04:16:00 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.sqlalchemy
  Commit: 970a2dadc6edb074462ac94035b8e55e75db5afe
      https://github.com/zopefoundation/zope.sqlalchemy/commit/970a2dadc6edb074462ac94035b8e55e75db5afe
  Author: Henning Garus <hg at zettwerk.com>
  Date:   2013-08-27 (Tue, 27 Aug 2013)

  Changed paths:
    M src/zope/sqlalchemy/tests.py

  Log Message:
  -----------
  Add Testcase demonstrating fail on join

When a join is attempted while the transaction is in COMMITFAILED
zope.sqlalchemy is left in an inconsistent state.

See https://github.com/zopefoundation/zope.sqlalchemy/issues/2


  Commit: a3d9c95ff470e439c2b94767d8981a428bc7a639
      https://github.com/zopefoundation/zope.sqlalchemy/commit/a3d9c95ff470e439c2b94767d8981a428bc7a639
  Author: Brian Sutherland <brian at vanguardistas.net>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M src/zope/sqlalchemy/datamanager.py

  Log Message:
  -----------
  Move join to before _SESSION_STATE is set

If the join() errors, _SESSION_STATE does not get
wedged.

fixes https://github.com/zopefoundation/zope.sqlalchemy/issues/2


Compare: https://github.com/zopefoundation/zope.sqlalchemy/compare/c74034101fdd...a3d9c95ff470


More information about the checkins mailing list