/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_natural_store.cpp | 121 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 D | kvdb_manager.cpp | 209 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 D | sync_able_kvdb.cpp | 130 …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 D | sync_able_engine.cpp | 118 …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 D | db_properties.cpp | 34 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 D | sqlite_storage_engine.cpp | 115 …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 D | sqlite_single_ver_natural_store.cpp | 191 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 D | sqlite_single_ver_natural_store_extend.cpp | 68 if (GetMyProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in StartLifeCycleTimer() 317 needCompressOnSync = GetDbProperties().GetBoolProp(KvDBProperties::COMPRESS_ON_SYNC, false); in GetCompressionOption()
|
H A D | sqlite_single_ver_natural_store_connection.cpp | 560 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 D | sqlite_single_ver_storage_engine.cpp | 264 … !(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 D | single_ver_database_oper.cpp | 85 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 D | multi_ver_database_oper.cpp | 180 …bool isNeedCreate = multiVerNaturalStore_->GetDbProperties().GetBoolProp(KvDBProperties::CREATE_IF… in BackupCurrentDatabase()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_store_instance.cpp | 184 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 D | db_properties.h | 34 bool GetBoolProp(const std::string &name, bool defaultValue) const;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/ |
H A D | icommunicator.h | 44 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 D | sqlite_local_kvdb.cpp | 68 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 D | generic_syncer.cpp | 450 …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 D | sync_engine.cpp | 284 …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 D | multi_ver_natural_store.cpp | 279 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 D | auto_launch.cpp | 166 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 D | db_common.cpp | 326 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 D | single_ver_data_sync_utils.cpp | 222 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 D | sqlite_relational_store.cpp | 65 option.createIfNecessary = properties.GetBoolProp(DBProperties::CREATE_IF_NECESSARY, false); in InitDataBaseOption() 662 …if (sqliteStorageEngine_->GetProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MODE, false)) { in StartLifeCycleTimer()
|