couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r982255 - /couchdb/trunk/src/couchdb/couch_db.erl
Date Wed, 04 Aug 2010 14:07:17 GMT
Author: fdmanana
Date: Wed Aug  4 14:07:17 2010
New Revision: 982255

URL: http://svn.apache.org/viewvc?rev=982255&view=rev
Log:
Avoid unncessary pattern matching.

Modified:
    couchdb/trunk/src/couchdb/couch_db.erl

Modified: couchdb/trunk/src/couchdb/couch_db.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_db.erl?rev=982255&r1=982254&r2=982255&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_db.erl (original)
+++ couchdb/trunk/src/couchdb/couch_db.erl Wed Aug  4 14:07:17 2010
@@ -510,8 +510,8 @@ prep_and_validate_updates(Db, [DocBucket
             [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) ->



Mime
View raw message