Home
last modified time | relevance | path

Searched refs:GetDbDir (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_engine.cpp297 …attachAbsPath = GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_CACHE_STORE… in AttachMainDbAndCacheDb()
301 … attachAbsPath = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in AttachMainDbAndCacheDb()
329 …attachAbsPath = GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_CACHE_STORE… in AttachMainDbAndCacheDb()
333 … attachAbsPath = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in AttachMainDbAndCacheDb()
391 … errCode = DBCommon::RemoveAllFilesOfDirectory(GetDbDir(option_.subdir, DbType::CACHE), false); in FinishMigrateData()
410 errCode = DBCommon::RemoveAllFilesOfDirectory(GetDbDir(option_.subdir, DbType::CACHE), false); in FinishMigrateData()
571 … option_.uri = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in TryToOpenMainDatabase()
593 …if (OS::CheckPathExistence(GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_… in TryToOpenMainDatabase()
617 …std::string cacheDbPath = GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_C… in GetDbHandle()
666 … option_.uri = GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_CACHE_STORE + in GetCacheDbHandle()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_utils.cpp30 std::string GetDbDir(const std::string &subDir, DbType type) in GetDbDir() function
117 auto mainDbDir = GetDbDir(opt.subdir, DbType::MAIN); in GetExistedSecOpt()
163 auto mainDbDir = GetDbDir(opt.subdir, DbType::MAIN); in CheckStoreStatus()
H A Dsingle_ver_utils.h56 std::string GetDbDir(const std::string &subDir, DbType type);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_engine.cpp134 option_.uri = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in TryToOpenMainDatabase()