Searched refs:backupFilePath (Results 1 – 3 of 3) sorted by relevance
863 int RdbStoreImpl::GetDataBasePath(const std::string &databasePath, std::string &backupFilePath) in GetDataBasePath() argument871 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() local931 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 …]
111 int GetDataBasePath(const std::string &databasePath, std::string &backupFilePath);
190 int GetDataBasePath(const std::string &databasePath, std::string &backupFilePath);