Lines Matching refs:ret
57 int ret = store_->BeginTransaction();
58 if (ret != OHOS::NativeRdb::E_OK) {
59 HILOG_ERROR("CallLogDataBase BeginTransaction fail :%{public}d", ret);
61 return ret;
70 int ret = store_->Commit();
71 if (ret != OHOS::NativeRdb::E_OK) {
72 HILOG_ERROR(" CallLogDataBase Commit fail :%{public}d", ret);
74 return ret;
83 int ret = store_->RollBack();
84 if (ret != OHOS::NativeRdb::E_OK) {
85 HILOG_ERROR(" CallLogDataBase RollBack fail :%{public}d", ret);
87 return ret;
143 int ret = store.SetVersion(newVersion);
144 return ret;
162 int ret = store_->Insert(outRowId, CallsTableName::CALLLOG, insertValues);
163 if (ret != OHOS::NativeRdb::E_OK) {
164 HILOG_ERROR("CallLogDataBase InsertCallLog ret :%{public}d", ret);
188 int ret = store_->Update(changeRow, values, predicates);
189 if (ret != OHOS::NativeRdb::E_OK) {
190 HILOG_ERROR("CallLogDataBase UpdateCallLog ret :%{public}d", ret);
193 return ret;
210 int ret = store_->Delete(deleteRow, predicates);
211 if (ret != OHOS::NativeRdb::E_OK) {
212 HILOG_ERROR("CallLogDataBase DeleteCallLog ret :%{public}d", ret);
215 return ret;
286 int ret = UpdateTopContact(insertValues);
287 if (ret != OHOS::NativeRdb::E_OK) {
323 int ret = ContactsDataBase::GetInstance()->contactStore_->ExecuteSql(sqlBuild, bindArgs);
324 if (ret != OHOS::NativeRdb::E_OK) {