diff options
author | Robert Newson <rnewson@apache.org> | 2011-07-28 19:14:08 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2011-07-28 19:14:08 +0000 |
commit | 6f43183770b858906e6f41e59f65a0513615479d (patch) | |
tree | 053dda0a7e740c6d86305ebda26fcf55c06b29c6 /src | |
parent | 9e4abecfc2d26dc9ec109c24d97ee03c111e1d30 (diff) |
revert redundant pattern match.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1151976 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_db_updater.erl | 4 |
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}; _ -> |