summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-08-04 14:07:17 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-08-04 14:07:17 +0000
commit9dc7b8387931ca604703f5e3142c4b02112ac6ad (patch)
tree2427754bdc866ef34265a1849d4b18d9400cb0e3
parentaea47cc3831fd7b5a8c926557ad79cffbe9639ef (diff)
Avoid unncessary pattern matching.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982255 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_db.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl
index 34b4f3fb..5cabf9ef 100644
--- a/src/couchdb/couch_db.erl
+++ b/src/couchdb/couch_db.erl
@@ -510,8 +510,8 @@ prep_and_validate_updates(Db, [DocBucket|RestBuckets],
[PreppedBucket | AccPrepped], AccErrors3).
-update_docs(#db{update_pid=UpdatePid}=Db, Docs, Options) ->
- update_docs(#db{update_pid=UpdatePid}=Db, Docs, Options, interactive_edit).
+update_docs(Db, Docs, Options) ->
+ update_docs(Db, Docs, Options, interactive_edit).
prep_and_validate_replicated_updates(_Db, [], [], AccPrepped, AccErrors) ->