mirror of https://github.com/djcb/mu.git
* mu-util-xapian.cc: don't log db version for each query
This commit is contained in:
parent
db55e8cf7d
commit
e017e658de
|
@ -20,7 +20,6 @@
|
|||
#include "config.h"
|
||||
#include <xapian.h>
|
||||
|
||||
|
||||
#include <cstring>
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -42,10 +41,6 @@ mu_util_xapian_db_version (const gchar *xpath)
|
|||
const std::string version
|
||||
(db.get_metadata (MU_XAPIAN_VERSION_KEY));
|
||||
|
||||
MU_WRITE_LOG ("database version: '%s', expected '%s'",
|
||||
version.empty() ? "<none>" : version.c_str(),
|
||||
MU_XAPIAN_DB_VERSION);
|
||||
|
||||
return version.empty() ? NULL : g_strdup (version.c_str());
|
||||
|
||||
} MU_XAPIAN_CATCH_BLOCK;
|
||||
|
|
Loading…
Reference in New Issue