--- a/src/rcldb/rcldb.cpp
+++ b/src/rcldb/rcldb.cpp
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.61 2006-04-05 12:50:42 dockes Exp $ (C) 2004 J.F.Dockes";
+static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.62 2006-04-05 13:39:07 dockes Exp $ (C) 2004 J.F.Dockes";
#endif
/*
* This program is free software; you can redistribute it and/or modify
@@ -237,6 +237,13 @@
return false;
}
+string Db::getDbDir()
+{
+ if (m_ndb == 0)
+ return "";
+ return m_ndb->m_basedir;
+}
+
// Note: xapian has no close call, we delete and recreate the db
bool Db::close()
{