summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_db_updater.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl
index 714a337f..6493a3b3 100644
--- a/src/couchdb/couch_db_updater.erl
+++ b/src/couchdb/couch_db_updater.erl
@@ -484,9 +484,9 @@ flush_trees(#db{fd=Fd,header=Header}=Db,
{ok, NewSummaryPointer} =
case Header#db_header.disk_version < 4 of
true ->
- {ok, _} = couch_file:append_term(Fd, {Doc#doc.body, DiskAtts});
+ couch_file:append_term(Fd, {Doc#doc.body, DiskAtts});
false ->
- {ok, _} = couch_file:append_term_md5(Fd, {Doc#doc.body, DiskAtts})
+ couch_file:append_term_md5(Fd, {Doc#doc.body, DiskAtts})
end,
{IsDeleted, NewSummaryPointer, UpdateSeq};
_ ->