Hanging locks.

This commit is contained in:
JoelKatz
2013-04-18 20:14:28 -07:00
parent 3b90dfdcd1
commit bd3dc23f9e
3 changed files with 11 additions and 1 deletions

View File

@@ -1625,9 +1625,11 @@ void UniqueNodeList::nodeBootstrap()
if (db->executeSQL(str(boost::format("SELECT COUNT(*) AS Count FROM SeedDomains WHERE Source='%s' OR Source='%c';") % vsManual % vsValidator)) && db->startIterRows())
iDomains = db->getInt("Count");
db->endIterRows();
if (db->executeSQL(str(boost::format("SELECT COUNT(*) AS Count FROM SeedNodes WHERE Source='%s' OR Source='%c';") % vsManual % vsValidator)) && db->startIterRows())
iNodes = db->getInt("Count");
db->endIterRows();
}
bool bLoaded = iDomains || iNodes;