Fix for cache startup crash.
authorSteve McIntyre <steve@einval.com>
Sun, 7 Aug 2011 21:15:14 +0000 (22:15 +0100)
committerSteve McIntyre <steve@einval.com>
Sun, 7 Aug 2011 21:15:14 +0000 (22:15 +0100)
commitbaeb36bbebad1877a56bea9d699c5b7966eabcf2
tree7087d4d73af636f262c70636af74716df42fc343
parent384c9efad16b08e6fb53804f007a926c3d1396da
Fix for cache startup crash.

When syncing up the cache and DB at startup, be extra careful about
data safety. We haven't gone into normal code yet and the database
state might be interesting!

If we delete/modify an entry from the cache db, restart the entire
loop.
C/fmdb.c