From 9dc7b8387931ca604703f5e3142c4b02112ac6ad Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Wed, 4 Aug 2010 14:07:17 +0000 Subject: Avoid unncessary pattern matching. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982255 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_db.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -> -- cgit v1.2.3