--- a/src/rcldb/rcldb.cpp
+++ b/src/rcldb/rcldb.cpp
@@ -557,6 +557,8 @@
}
/* Rcl::Db methods ///////////////////////////////// */
+
+bool Db::o_inPlaceReset;
Db::Db(RclConfig *cfp)
: m_ndb(0), m_config(cfp), m_idxAbsTruncLen(250), m_synthAbsLen(250),
@@ -1403,6 +1405,12 @@
{
if (m_ndb == 0)
return false;
+
+ // If we are doing an in place reset, no need to test. Note that there is
+ // no need to update the existence map either, it will be done while
+ // indexing
+ if (o_inPlaceReset)
+ return true;
string uniterm = make_uniterm(udi);
string ermsg;