Home
last modified time | relevance | path

Searched refs:writeHandle_ (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_vacuum_executor_impl.cpp49 if (writeHandle_ != nullptr) { in GetVacuumAbleCommits()
179 if (writeHandle_ != nullptr) { in StartTransactionForVacuum()
195 writeHandle_ = nullptr; in StartTransactionForVacuum()
207 if (writeHandle_ == nullptr) { in CommitTransactionForVacuum()
218 writeHandle_ = nullptr; in CommitTransactionForVacuum()
228 if (writeHandle_ == nullptr) { in RollBackTransactionForVacuum()
238 writeHandle_ = nullptr; in RollBackTransactionForVacuum()
248 if (writeHandle_ == nullptr) { in DeleteRecordTotally()
266 if (writeHandle_ == nullptr) { in MarkRecordAsVacuumDone()
284 if (writeHandle_ == nullptr) { in MarkCommitAsVacuumDone()
[all …]
H A Dmulti_ver_natural_store_connection.cpp32 writeHandle_(nullptr) in MultiVerNaturalStoreConnection()
37 writeHandle_ = nullptr; in ~MultiVerNaturalStoreConnection()
50 if (writeHandle_ != nullptr) { in Get()
142 errCode = writeHandle_->Clear(); in Clear()
314 if (writeHandle_ != nullptr) { in StartTransaction()
339 if (writeHandle_ != nullptr) { in IsTransactionStarted()
355 if (writeHandle_ != nullptr) { in PreClose()
369 if (writeHandle_ == nullptr) { in CommitTransactionInner()
386 if (writeHandle_ == nullptr) { in RollBackTransactionInner()
402 if (writeHandle_ != nullptr) { in StartTransactionInner()
[all …]
H A Dmulti_ver_vacuum_executor_impl.h69 MultiVerStorageExecutor *writeHandle_; variable
H A Dmulti_ver_natural_store_connection.h116 MultiVerStorageExecutor *writeHandle_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb_connection.cpp32 writeHandle_(nullptr) in SQLiteLocalKvDBConnection()
48 if (writeHandle_ != nullptr) { in Get()
139 errCode = writeHandle_->Clear(); in Clear()
311 if (writeHandle_ != nullptr) { in StartTransaction()
333 if (writeHandle_ != nullptr) { in IsTransactionStarted()
349 if (writeHandle_ != nullptr) { in PreClose()
350 writeHandle_->RollBack(); in PreClose()
365 if (writeHandle_ != nullptr) { in StartTransactionInner()
385 writeHandle_ = handle; in StartTransactionInner()
394 if (writeHandle_ == nullptr) { in CommitInner()
[all …]
H A Dsqlite_local_kvdb_connection.h103 SQLiteLocalStorageExecutor *writeHandle_; // only existed while in transaction. variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store_connection.cpp80 if (writeHandle_ != nullptr) { in GetEntriesInner()
286 if (writeHandle_ != nullptr) { in Get()
329 if (writeHandle_ != nullptr) { in GetEntriesInner()
499 if (writeHandle_ != nullptr) { in PreClose()
562 if (writeHandle_ == nullptr) { in PutBatchInner()
687 writeHandle_ = handle; in StartTransactionNormally()
694 ReleaseExecutor(writeHandle_); in CommitInner()
695 writeHandle_ = nullptr; in CommitInner()
706 ReleaseExecutor(writeHandle_); in RollbackInner()
707 writeHandle_ = nullptr; in RollbackInner()
[all …]
H A Drd_single_ver_natural_store_connection.h173 RdSingleVerStorageExecutor *writeHandle_; // only existed while in transaction. variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store_connection.cpp53 writeHandle_(nullptr) in SQLiteSingleVerNaturalStoreConnection()
105 if (writeHandle_ != nullptr) { in Get()
275 if (writeHandle_ != nullptr) { in StartTransaction()
290 if (writeHandle_ == nullptr) { in Commit()
305 if (writeHandle_ == nullptr) { in RollBack()
815 if (writeHandle_ == nullptr) { in PutBatchInner()
863 if (writeHandle_ == nullptr) { in DeleteBatchInner()
1245 writeHandle_ = handle; in StartTransactionInCacheMode()
1295 writeHandle_ = handle; in StartTransactionNormally()
1321 ReleaseExecutor(writeHandle_); in CommitInner()
[all …]
H A Dsqlite_single_ver_natural_store_connection.h240 SQLiteSingleVerStorageExecutor *writeHandle_; // only existed while in transaction. variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store_connection.cpp48 if (writeHandle_ != nullptr) { in Close()
54 ReleaseExecutor(writeHandle_); in Close()
93 if (writeHandle_ != nullptr) { // LCOV_EXCL_BR_LINE in StartTransaction()
110 writeHandle_ = handle; in StartTransaction()
118 if (writeHandle_ == nullptr) { // LCOV_EXCL_BR_LINE in Commit()
123 int errCode = writeHandle_->Commit(); in Commit()
124 ReleaseExecutor(writeHandle_); in Commit()
133 if (writeHandle_ == nullptr) { // LCOV_EXCL_BR_LINE in RollBack()
138 int errCode = writeHandle_->Rollback(); in RollBack()
139 ReleaseExecutor(writeHandle_); in RollBack()
H A Dsqlite_relational_store_connection.h85 SQLiteSingleVerRelationalStorageExecutor *writeHandle_ = nullptr; variable