couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1162307 - /couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl
Date Sat, 27 Aug 2011 07:40:54 GMT
Author: fdmanana
Date: Sat Aug 27 07:40:54 2011
New Revision: 1162307

URL: http://svn.apache.org/viewvc?rev=1162307&view=rev
Log:
Remove unnecessary call after revision 1162306

Modified:
    couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl

Modified: couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl?rev=1162307&r1=1162306&r2=1162307&view=diff
==============================================================================
--- couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl (original)
+++ couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl Sat Aug 27 07:40:54 2011
@@ -255,9 +255,8 @@ reader_loop(ReaderServer, Parent, Source
                 infinity) || {Id,Seq,Revs} <- SortedIdsRevs],
             reader_loop(ReaderServer, Parent, Source, MissingRevsServer);
         _Local ->
-            {ok, Source1} = gen_server:call(Parent, get_source_db, infinity),
             {ok, Source2} = couch_db:open(
-                Source1#db.name, [{user_ctx, Source1#db.user_ctx}]),
+                Source#db.name, [{user_ctx, Source#db.user_ctx}]),
             lists:foreach(fun({Id,Seq,Revs}) ->
                 {ok, Docs} = couch_db:open_doc_revs(Source2, Id, Revs, [latest]),
                 JustTheDocs = [Doc || {ok, Doc} <- Docs],



Mime
View raw message