[Buildbot-commits] [buildbot/buildbot] cabcf0: Fix tests after 82430c when using older versions S...

GitHub noreply at github.com
Thu Mar 29 19:22:52 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: cabcf07b827c9b11ed056953ca462f5de2dc4fb7
      https://github.com/buildbot/buildbot/commit/cabcf07b827c9b11ed056953ca462f5de2dc4fb7
  Author: Mark Rowe <mrowe at apple.com>
  Date:   2012-03-29 (Thu, 29 Mar 2012)

  Changed paths:
    M master/buildbot/db/enginestrategy.py

  Log Message:
  -----------
  Fix tests after 82430c when using older versions SQLAlchemy.

Use an object that implements the PoolListener interface to listen
for the connect event when using SQLAlchemy prior to 0.7.

This also moves the registration of the event listener ahead of the
changing of the journal mode to ensure that the database connection
that SQLAlchemy spins up when executing the journal mode pragma also
triggers the event listener, and doesn't miss out on having
checkpoint_fullfsync disabled.


  Commit: e1cc7ed819a366dbed52dffcf92d73265b08481b
      https://github.com/buildbot/buildbot/commit/e1cc7ed819a366dbed52dffcf92d73265b08481b
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-03-29 (Thu, 29 Mar 2012)

  Changed paths:
    M master/buildbot/db/enginestrategy.py

  Log Message:
  -----------
  Merge branch 'fix-bug-2256-fallout' of git://github.com/bdash/buildbot

* 'fix-bug-2256-fallout' of git://github.com/bdash/buildbot:
  Fix tests after 82430c when using older versions SQLAlchemy.


Compare: https://github.com/buildbot/buildbot/compare/d0616da...e1cc7ed


More information about the Commits mailing list