Browse Source

Forgot the generalize the DB host in a few places

Roel Standaert 11 years ago
parent
commit
5d8b3b1ee7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wt/benchmark.cpp

+ 2 - 2
wt/benchmark.cpp

@@ -144,9 +144,9 @@ struct DbStructNoTransaction {
   boost::random::uniform_int_distribution<int> distribution;
 
 #ifndef BENCHMARK_USE_POSTGRES
-  DbStructNoTransaction() : connection("hello_world", "benchmarkdbuser", "benchmarkdbpass", "precise2.local", 3306),
+  DbStructNoTransaction() : connection("hello_world", "benchmarkdbuser", "benchmarkdbpass", "INSERT_DB_HOST_HERE", 3306),
 #else
-  DbStructNoTransaction() : connection("host=precise2.local port=5432 user=benchmarkdbuser password=benchmarkdbpass dbname=hello_world"),
+  DbStructNoTransaction() : connection("host=INSERT_DB_HOST_HERE port=5432 user=benchmarkdbuser password=benchmarkdbpass dbname=hello_world"),
 #endif
       rng(clock()),
       distribution(1, 10000) {