Switch to side-by-side view

--- a/src/rcldb/rcldb.cpp
+++ b/src/rcldb/rcldb.cpp
@@ -1670,7 +1670,7 @@
 	// We flush here just for correct measurement of the thread work time
 	string ermsg;
 	try {
-	    m_ndb->xwdb.flush();
+	    m_ndb->xwdb.commit();
 	} XCATCHERROR(ermsg);
 	if (!ermsg.empty()) {
 	    LOGERR("Db::waitUpdIdle: flush() failed: "  << (ermsg) << "\n" );
@@ -1702,7 +1702,7 @@
     }
     string ermsg;
     try {
-	m_ndb->xwdb.flush();
+	m_ndb->xwdb.commit();
     } XCATCHERROR(ermsg);
     if (!ermsg.empty()) {
 	LOGERR("Db::doFlush: flush() failed: "  << (ermsg) << "\n" );
@@ -1907,7 +1907,7 @@
     // that any added document would go to the index. Kept here
     // because it doesn't really hurt.
     try {
-	m_ndb->xwdb.flush();
+	m_ndb->xwdb.commit();
     } catch (...) {
 	LOGERR("Db::purge: 1st flush failed\n" );
 
@@ -1952,7 +1952,7 @@
     }
 
     try {
-	m_ndb->xwdb.flush();
+	m_ndb->xwdb.commit();
     } catch (...) {
 	LOGERR("Db::purge: 2nd flush failed\n" );
     }