Fix wal_dir sanitizing
This commit is contained in:
parent
7efdd9ef4d
commit
751e4b1a35
@ -323,7 +323,7 @@ Options SanitizeOptions(const std::string& dbname,
|
|||||||
result.wal_dir = dbname;
|
result.wal_dir = dbname;
|
||||||
}
|
}
|
||||||
if (result.wal_dir.back() == '/') {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Sanitize the table properties collector
|
// -- Sanitize the table properties collector
|
||||||
|
Loading…
Reference in New Issue
Block a user