Home
last modified time | relevance | path

Searched refs:CREATE_IF_NECESSARY (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_kvdata_storage.cpp52 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in OpenKvDB()
301 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, property.isNeedCreate); in GetVersion()
437 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in BackupCurrentDatabase()
456 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in ImportDatabase()
H A Dmulti_ver_natural_store_commit_storage.cpp85 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, property.isNeedCreate); in GetVersion()
116 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, property.isNeedCreate); in Open()
890 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in BackupCurrentDatabase()
904 dbProperties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in ImportDatabase()
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/storage/include/
H A Ddb_properties.h55 static constexpr const char *CREATE_IF_NECESSARY = "createIfNecessary"; variable
/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/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.cpp121 bool isCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in Open()
547 option.createIfNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_multi_ver_sync_db_interface.cpp157 prop.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in Initialize()
H A Ddistributeddb_multi_ver_p2p_sync_test.cpp86 prop.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in GetConnection()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_data_connection_test.cpp99 properties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in SetUp()
H A Ddistributeddb_storage_data_operation_test.cpp109 properties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in SetUp()
H A Ddistributeddb_storage_transaction_data_test.cpp260 g_prop.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in SetUp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_delegate_manager.cpp87 properties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, option.createIfNecessary); in InitPropWithNbOption()
142 properties.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, option.createIfNecessary); in InitPropWithOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dmulti_ver_database_oper.cpp180 … = multiVerNaturalStore_->GetDbProperties().GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in BackupCurrentDatabase()
H A Dsingle_ver_database_oper.cpp504 bool isCreate = properties.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_auto_launch_test.cpp291 prop.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in GetKvDB()
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp643 property.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true);
H A Ddistributeddb_interfaces_database_test.cpp1256 property.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store.cpp372 bool isCreate = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in CheckDatabaseRecovery()
1615 bool isCreateNecessary = kvDBProp.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in InitDataBaseOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp438 bool isCreateNecessary = property.GetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in GetDataBase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp145 prop.SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, true); in GetProperty()
/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()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dauto_launch.cpp1013 propertiesPtr->SetBoolProp(KvDBProperties::CREATE_IF_NECESSARY, param.option.createIfNecessary); in GetAutoLaunchKVProperties()