Merge branch 'diffbot' into diffbot-testing

This commit is contained in:
Matt Wells 2014-03-20 10:26:55 -07:00
commit b8d0e95035

View File

@ -592,6 +592,13 @@ bool Rdb::deleteAllRecs ( collnum_t collnum ) {
CollectionRec *cr = g_collectiondb.getRec ( collnum );
// deleted from under us?
if ( ! cr ) {
log("rdb: deleteallrecs: cr is NULL");
return true;
}
RdbBase *base = cr->m_bases[(unsigned char)m_rdbId];
if ( ! base ) return true;