Home
last modified time | relevance | path

Searched refs:backupFilePath (Results 1 – 3 of 3) sorted by relevance

/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
Drdb_store_impl.cpp863 int RdbStoreImpl::GetDataBasePath(const std::string &databasePath, std::string &backupFilePath) in GetDataBasePath() argument
871 backupFilePath = ExtractFilePath(path) + databasePath; in GetDataBasePath()
874 …if (!PathToRealPath(ExtractFilePath(databasePath), backupFilePath) || databasePath.back() == '/' || in GetDataBasePath()
879 backupFilePath = databasePath; in GetDataBasePath()
882 if (backupFilePath == path) { in GetDataBasePath()
887 LOG_INFO("databasePath is %{public}s.", SqliteUtils::Anonymous(backupFilePath).c_str()); in GetDataBasePath()
930 std::string backupFilePath; in Backup() local
931 int ret = GetDataBasePath(databasePath, backupFilePath); in Backup()
935 std::string tempPath = backupFilePath + "temp"; in Backup()
939 if (access(backupFilePath.c_str(), F_OK) == E_OK) { in Backup()
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
Drdb_store_impl.h111 int GetDataBasePath(const std::string &databasePath, std::string &backupFilePath);
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
Drdb_store_impl.h190 int GetDataBasePath(const std::string &databasePath, std::string &backupFilePath);