commit | 5666170c1e9a45c4ef72d9327dfbf859bf174b1f | [log] [tgz] |
---|---|---|
author | Vasu Nori <vnori@google.com> | Tue Jun 22 12:22:31 2010 -0700 |
committer | Vasu Nori <vnori@google.com> | Tue Jun 22 12:22:31 2010 -0700 |
tree | 67f91b75889bed32d6afc755ac68fd2bcc68773e | |
parent | ef7fa7bc66e3b5cab0519a06ed89c52bfe60d27c [diff] |
when corruption occurs, not clsing the db is casuing stack overflow due to a bug in DefaultDatabaseErrorHandler, if the corruption is so bad that the list of attached databases can't even be retrieved, then database is not closed in DefaultDatabaseErrorHandler, this causes the corrupted file to remain on disk. this causes corruption detection to occur forever until the stack overflows. Change-Id: I9896bee220231cbde0b1620ad0a617420424967c