summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Congwu <congwu.chen@intel.com>2009-11-23 15:32:00 +0800
committerChen Congwu <congwu.chen@intel.com>2009-11-23 15:32:00 +0800
commitcb5ff5cd0629b2ee958bdc9271556f76374be77c (patch)
tree405a15515c016d53dddd15d5d2daf42929ae5dd6
parentae39d7478a0c0fcf4ba55554f766c84b221cd213 (diff)
Testing: Always send "update" for "add" and "update" operations.testing
This is a workaround to test the commit 1fea32f6ef8cf9b5d3a8702940ac15f1984be7d4 possbile negative effect
-rwxr-xr-xsrc/sysync/binfileimplds.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/sysync/binfileimplds.cpp b/src/sysync/binfileimplds.cpp
index 77a32b9..635aabe 100755
--- a/src/sysync/binfileimplds.cpp
+++ b/src/sysync/binfileimplds.cpp
@@ -1584,12 +1584,7 @@ localstatus TBinfileImplDS::implGetItem(
}
}
// detect wheter the item is new added or changed
- if(chglogP->modcount_created > fPreviousToRemoteModCount) {
- myitemP->setSyncOp(sop_add);
- }
- else {
- myitemP->setSyncOp(sop_replace);
- }
+ myitemP->setSyncOp(sop_replace);
// make sure item has the localid which was used to retrieve it
ASSIGN_LOCALID_TO_ITEM(*myitemP,chglogP->dbrecordid);
}