[Buildbot-commits] [buildbot/buildbot] 68285a: Workaround SQLite bug with caching table metadata

noreply at github.com noreply at github.com
Tue Feb 15 04:12:59 UTC 2011


Branch: refs/heads/master
Home:   https://github.com/buildbot/buildbot

Commit: 68285a36bb37b05515976a5f0139f66f06969a9f
    https://github.com/buildbot/buildbot/commit/68285a36bb37b05515976a5f0139f66f06969a9f
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date:   2011-02-14 (Mon, 14 Feb 2011)

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

Log Message:
-----------
Workaround SQLite bug with caching table metadata

This runs 'SELECT * from sqlite_master' before each pool operation, when
using the sqlite dialect.  Refs #1810.


Commit: cef4936661e639456fb8ac1b6651f0ec4210c3e2
    https://github.com/buildbot/buildbot/commit/cef4936661e639456fb8ac1b6651f0ec4210c3e2
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date:   2011-02-14 (Mon, 14 Feb 2011)

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

Log Message:
-----------
Conditionalize SQLite workaround on presence of bug

This runs a quick sequence on every pool instantiation to determine
whether or not this SQLite bug is present, and sets the workaround flag
only if it is found.  Refs #1810.






More information about the Commits mailing list