1
0
Fork 0

no need to use policy

This commit is contained in:
Jan Steemann 2013-09-20 08:27:16 +02:00
parent b8236bc218
commit e3ac7ed04c
1 changed files with 2 additions and 3 deletions

View File

@ -970,8 +970,6 @@ namespace triagens {
return res;
}
TRI_doc_update_policy_t updatePolicy;
TRI_InitUpdatePolicy(&updatePolicy, TRI_DOC_UPDATE_LAST_WRITE, 0, NULL);
const size_t n = ids.size();
for (size_t i = 0; i < n; ++i) {
@ -980,10 +978,11 @@ namespace triagens {
res = primary->remove(trxCollection,
(const TRI_voc_key_t) id.c_str(),
0,
&updatePolicy,
0, // policy
false,
forceSync);
if (res != TRI_ERROR_NO_ERROR) {
// halt on first error
break;