summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-08-11 14:29:03 -0400
committerEliot Horowitz <eliot@10gen.com>2009-08-11 14:29:03 -0400
commit01ff742b4e0eb9da187a98e6de2669c28fffc271 (patch)
treeecb9aa27e5f0421834dc1b37a67cf7dd3d8e3a6d /dbtests
parentb208f54e5a7290b8ab0e55cedaa6a63d97ab0925 (diff)
downloadmongo-01ff742b4e0eb9da187a98e6de2669c28fffc271.tar.gz
changed dbpath to std::string
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/dbtests.cpp2
-rw-r--r--dbtests/perf/perftest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/dbtests.cpp b/dbtests/dbtests.cpp
index b861686574b..5ef7113a4b2 100644
--- a/dbtests/dbtests.cpp
+++ b/dbtests/dbtests.cpp
@@ -33,7 +33,7 @@
using namespace std;
namespace mongo {
- extern const char* dbpath;
+ extern string dbpath;
} // namespace mongo
string dbpathSpec = "/tmp/unittest/";
diff --git a/dbtests/perf/perftest.cpp b/dbtests/perf/perftest.cpp
index aa3d047a831..373296ac2aa 100644
--- a/dbtests/perf/perftest.cpp
+++ b/dbtests/perf/perftest.cpp
@@ -30,7 +30,7 @@
#include <boost/date_time/posix_time/posix_time.hpp>
namespace mongo {
- extern const char* dbpath;
+ extern string dbpath;
} // namespace mongo
// Very useful function, hacky way of getting at at.