Skip to content

Commit

Permalink
Merge 3b49df7 into 57f6f63
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA authored Dec 25, 2024
2 parents 57f6f63 + 3b49df7 commit ca5c087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/base/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ TString::const_iterator PathPartBrokenAt(const TString &part, const TStringBuf e
bool CheckDbPath(const TString &path, const TString &domain, TString &error) {
auto parts = SplitPath(path);

if (parts.empty()) {
if (parts.size() < 2) {
error = "Database path cannot be empty or root";
return false;
}
Expand Down

0 comments on commit ca5c087

Please sign in to comment.