Merge branch 'master' into columnfamilies

This commit is contained in:
Igor Canadi 2014-04-07 13:04:25 -07:00
commit 2a0917b28e
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ DBOptions SanitizeOptions(const std::string& dbname, const DBOptions& src) {
result.wal_dir = dbname;
}
if (result.wal_dir.back() == '/') {
result.wal_dir = result.wal_dir.substr(result.wal_dir.size() - 1);
result.wal_dir = result.wal_dir.substr(0, result.wal_dir.size() - 1);
}
return result;

View File

@ -35,7 +35,7 @@ class GeoDBTest {
}
};
const std::string GeoDBTest::kDefaultDbName = "/tmp/geodefault/";
const std::string GeoDBTest::kDefaultDbName = "/tmp/geodefault";
Options GeoDBTest::options = Options();
// Insert, Get and Remove