equal
deleted
inserted
replaced
244 CleanupClosePushL(dbView); |
244 CleanupClosePushL(dbView); |
245 TBuf<KMdeCpixSyncDbSqlDeleteSize> sql; |
245 TBuf<KMdeCpixSyncDbSqlDeleteSize> sql; |
246 sql.Format(KMdeCpixSyncDbSqlCheckExist,aObjId); |
246 sql.Format(KMdeCpixSyncDbSqlCheckExist,aObjId); |
247 User::LeaveIfError(dbView.Prepare(iDatabase, TDbQuery(sql))); |
247 User::LeaveIfError(dbView.Prepare(iDatabase, TDbQuery(sql))); |
248 User::LeaveIfError(dbView.EvaluateAll()); |
248 User::LeaveIfError(dbView.EvaluateAll()); |
249 dbView.FirstL(); |
249 (void)dbView.FirstL(); |
250 if(dbView.AtRow()) |
250 if(dbView.AtRow()) |
251 { |
251 { |
252 dbView.UpdateL(); |
252 dbView.UpdateL(); |
253 dbView.SetColL(EKey,aObjId); |
253 dbView.SetColL(EKey,aObjId); |
254 dbView.SetColL(EDrive, aMdsItem.DriveNumber()); |
254 dbView.SetColL(EDrive, aMdsItem.DriveNumber()); |