Make sure db is open at all times (caused problems when sorting query started from the command line)

This commit is contained in:
dockes 2009-08-13 06:28:14 +00:00
parent a9eb8e42da
commit 3435e1388d

View File

@ -423,7 +423,8 @@ void RclMain::periodic100()
// looking at them either). Fixing this would be
// relatively complicated (keep an open/close gen number
// and check this / restart query in DocSeqDb() ?)
rcldb->close();
string reason;
maybeOpenDb(reason, 1);
periodictimer->changeInterval(1000);
}
} else {