Home
last modified time | relevance | path

Searched refs:isDataExist (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_executor_extend.cpp241 bool isDataExist = false; in RemoveDeviceData() local
242 …int errCode = CloudCheckDataExist(SELECT_CLOUD_LOG_DATA_BY_DEVID_SQL, deviceName, "", isDataExist); in RemoveDeviceData()
244 if (mode != ClearMode::DEFAULT && (!isDataExist || errCode != E_OK)) { in RemoveDeviceData()
258 bool isDataExist = false; in RemoveDeviceData() local
260 errCode = CloudCheckDataExist(SELECT_CLOUD_DEV_DATA_BY_USERID_SQL, "", user, isDataExist); in RemoveDeviceData()
261 if (errCode != E_OK || !isDataExist) { in RemoveDeviceData()
266 …de = CloudCheckDataExist(SELECT_CLOUD_LOG_DATA_BY_USERID_DEVID_SQL, deviceName, user, isDataExist); in RemoveDeviceData()
267 if (errCode != E_OK || !isDataExist) { in RemoveDeviceData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Dcollection.cpp111 …ollection::UpsertDocument(const std::string &id, const std::string &newDocument, bool &isDataExist) in UpsertDocument() argument
128 if (!isDataExist) { in UpsertDocument()
H A Ddocument_store.cpp305 bool &isDataExist) in CheckUpsertConflict() argument
310 isDataExist = true; in CheckUpsertConflict()
315 if (errCode == E_OK && !(isDataExist)) { in CheckUpsertConflict()
398 bool isDataExist = false; in UpsertDataIntoDB() local
407 errCode = CheckUpsertConflict(resultSet, filterObj, docId, coll, isDataExist); in UpsertDataIntoDB()
417 errCode = coll.UpsertDocument(docId, newDocument, isDataExist); in UpsertDataIntoDB()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_updater_test/
H A Dbms_bundle_updater_test.cpp248 bool isDataExist = tool.CheckFilePathISExist(BUNDLE_DATA_DIR); in CheckFileExist() local
249 EXPECT_TRUE(isDataExist); in CheckFileExist()