Home
last modified time | relevance | path

Searched refs:TryAccessSlaveLock (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_utils.h61 static bool TryAccessSlaveLock(const std::string &dbPath, bool isDelete, bool needCreate,
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_connection.cpp143 bool isSlaveLockExist = SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, false); in CreateSlaveConnection()
144 bool hasFailure = SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, false, true); in CreateSlaveConnection()
157 SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, true, true); in CreateSlaveConnection()
165 SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, true, true); in CreateSlaveConnection()
446 SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, true, true); in CreateStatement()
1387 SqliteUtils::TryAccessSlaveLock(config_.GetPath(), true, false); in ExchangeSlaverToMaster()
1388 SqliteUtils::TryAccessSlaveLock(config_.GetPath(), true, false, true); in ExchangeSlaverToMaster()
1475 if (SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, false, false)) { in IsRepairable()
1515 if (SqliteUtils::TryAccessSlaveLock(config_.GetPath(), false, false, true)) { in ExchangeVerify()
1526 if (!SqliteUtils::TryAccessSlaveLock(config in ExchangeVerify()
[all...]
H A Dsqlite_statement.cpp208 SqliteUtils::TryAccessSlaveLock(config_->GetPath(), false, true, true); in Prepare()
249 SqliteUtils::TryAccessSlaveLock(config_->GetPath(), false, true, true); in Bind()
388 SqliteUtils::TryAccessSlaveLock(config_->GetPath(), false, true, true); in Execute()
H A Dsqlite_utils.cpp263 bool SqliteUtils::TryAccessSlaveLock(const std::string &dbPath, bool isDelete, bool needCreate, in TryAccessSlaveLock() function in OHOS::NativeRdb::SqliteUtils

Completed in 6 milliseconds