Commit 8c872c89 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1557] proposed fix for query_bench

parent 17c32814
......@@ -30,6 +30,8 @@
#include <dns/question.h>
#include <dns/rrclass.h>
#include <log/logger_support.h>
#include <xfr/xfrout_client.h>
#include <auth/auth_srv.h>
......@@ -44,6 +46,7 @@ using namespace isc;
using namespace isc::data;
using namespace isc::auth;
using namespace isc::dns;
using namespace isc::log;
using namespace isc::util;
using namespace isc::xfr;
using namespace isc::bench;
......@@ -231,6 +234,10 @@ main(int argc, char* argv[]) {
const char* const datasrc_file = argv[0];
const char* const query_data_file = argv[1];
// We disable logging to avoid unwanted noise. (We may eventually want to
// make it more configurable)
initLogger("query-bench", isc::log::NONE);
DataSrcType datasrc_type = SQLITE3;
if (strcmp(opt_datasrc_type, "sqlite3") == 0) {
; // no need to override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment