Home
last modified time | relevance | path

Searched refs:GetBoolProp (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.cpp121 bool isCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in Open()
245 if (MyProp().GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { in Export()
250 if (MyProp().GetBoolProp(KvDBProperties::READ_ONLY_MODE, true)) { in Export()
293 if (MyProp().GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { in PreCheckRdImport()
299 if (MyProp().GetBoolProp(KvDBProperties::READ_ONLY_MODE, true)) { in PreCheckRdImport()
547 option.createIfNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
548 …option.createDirByStoreIdOnly = kvDBProp.GetBoolProp(KvDBProperties::CREATE_DIR_BY_STORE_ID_ONLY, … in InitDataBaseOption()
549 option.readOnly = kvDBProp.GetBoolProp(KvDBProperties::READ_ONLY_MODE, false); in InitDataBaseOption()
550 option.isNeedIntegrityCheck = kvDBProp.GetBoolProp(KvDBProperties::CHECK_INTEGRITY, false); in InitDataBaseOption()
551 option.isNeedRmCorruptedDb = kvDBProp.GetBoolProp(KvDBProperties::RM_CORRUPTED_DB, false); in InitDataBaseOption()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp209 bool isMemoryDb = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in TryLockDB()
259 bool isMemoryDb = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in UnlockDB()
289 bool isMemoryDb = properties.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckOpenDBOptionWithCached()
395 bool isReadOnly = property.GetBoolProp(KvDBProperties::READ_ONLY_MODE, false); in CreateDataBase()
402 property.GetBoolProp(KvDBProperties::RM_CORRUPTED_DB, false)) { in CreateDataBase()
413 if (property.GetBoolProp(KvDBProperties::CHECK_INTEGRITY, false) && in CreateDataBase()
421 if (property.GetBoolProp(KvDBProperties::RM_CORRUPTED_DB, false)) { in CreateDataBase()
437 bool isMemoryDb = property.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in GetDataBase()
980 bool isMemoryDb = properties.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckKvDBProperties()
1004 if (kvDB->GetMyProperties().GetBoolProp(KvDBProperties::LOCAL_ONLY, false) != in CheckKvDBProperties()
[all …]
H A Dsync_able_kvdb.cpp130 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_… in SetSyncModuleActive()
184 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_… in StartSyncerWithNoLock()
260 GetBoolProp(KvDBProperties::SYNC_DUAL_TUPLE_MODE, false); in UserChangeHandle()
436 … bool localOnly = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::LOCAL_ONLY, false); in SetSyncRetry()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsync_able_engine.cpp118 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in StartSyncerWithNoLock()
171 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in UserChangeHandle()
211 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in SetSyncModuleActive()
H A Ddb_properties.cpp34 bool DBProperties::GetBoolProp(const std::string &name, bool defaultValue) const in GetBoolProp() function in DistributedDB::DBProperties
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_storage_engine.cpp115 …bool createDirByStoreIdOnly = kvDBProp.GetBoolProp(KvDBProperties::CREATE_DIR_BY_STORE_ID_ONLY, fa… in CheckEngineOption()
132 bool isMemDb = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckEngineOption()
H A Dsqlite_single_ver_natural_store.cpp191 bool isEncryptedDb = kvDBProp.GetBoolProp(KvDBProperties::ENCRYPTED_MODE, false); in SetUserVer()
262 bool isMemDb = GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in GetSecurityOption()
347 … if (kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { // memory status not need recovery in CheckDatabaseRecovery()
372 bool isCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in CheckDatabaseRecovery()
373 bool isMemoryDb = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckDatabaseRecovery()
1353 bool isMemoryMode = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in InitStorageEngine()
1448 if (MyProp().GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { // LCOV_EXCL_BR_LINE in Export()
1492 if (MyProp().GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { // LCOV_EXCL_BR_LINE in Import()
1603 bool isMemoryDb = kvDBProp.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in InitDataBaseOption()
1615 bool isCreateNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
[all …]
H A Dsqlite_single_ver_natural_store_extend.cpp68 if (GetMyProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in StartLifeCycleTimer()
317 needCompressOnSync = GetDbProperties().GetBoolProp(KvDBProperties::COMPRESS_ON_SYNC, false); in GetCompressionOption()
H A Dsqlite_single_ver_natural_store_connection.cpp560 bool isMemDb = naturalStore->GetMyProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in GetResultSet()
612 bool isMemDb = naturalStore->GetMyProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in GetResultSet()
H A Dsqlite_single_ver_storage_engine.cpp264 … !(kvStore->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_TUPLE_MODE, false)); in MigrateSyncData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dsingle_ver_database_oper.cpp85 if (singleVerNaturalStore_->GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false)) { in RekeyPreHandle()
472 …bool isMemoryMode = singleVerNaturalStore_->GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_M… in InitStorageEngine()
494 bool isMemoryDb = properties.GetBoolProp(KvDBProperties::MEMORY_MODE, false); in InitDataBaseOption()
504 bool isCreate = properties.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
H A Dmulti_ver_database_oper.cpp180 …bool isNeedCreate = multiVerNaturalStore_->GetDbProperties().GetBoolProp(KvDBProperties::CREATE_IF… in BackupCurrentDatabase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_store_instance.cpp184 if (prop.GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, false) != in CheckCompatibility()
185 existedProp.GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in CheckCompatibility()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Ddb_properties.h34 bool GetBoolProp(const std::string &name, bool defaultValue) const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/
H A Dicommunicator.h44 sendConf.isNeedExtendHead = dbProperty.GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, in SetSendConfigParam()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb.cpp68 bool createIfNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in Open()
300 bool createIfNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dgeneric_syncer.cpp450 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TU… in CheckSyncActive()
750 …bool isSyncDualTupleMode = syncInterface_->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL… in GetOnlineDevices()
1093 … bool localOnly = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::LOCAL_ONLY, false); in IsNeedActive()
H A Dsync_engine.cpp284 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TU… in InitComunicator()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp279 bool isNeedCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitStorages()
329 bool isNeedCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in CheckSubStorageVersion()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dauto_launch.cpp166 bool isDualTupleMode = properties.GetBoolProp(KvDBProperties::SYNC_DUAL_TUPLE_MODE, false); in EnableKvStoreAutoLaunch()
565 …bool isDualTupleMode = iter.second.propertiesPtr->GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, … in GetDoOpenMap()
1406 if (!item.propertiesPtr->GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in GetAutoLaunchItemUid()
H A Ddb_common.cpp326 if (properties.GetBoolProp(KvDBProperties::CREATE_DIR_BY_STORE_ID_ONLY, false)) { in SetDatabaseIds()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync_utils.cpp222 bool memory = storage->GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckPermitReceiveData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store.cpp65 option.createIfNecessary = properties.GetBoolProp(DBProperties::CREATE_IF_NECESSARY, false); in InitDataBaseOption()
662 …if (sqliteStorageEngine_->GetProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in StartLifeCycleTimer()