couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [3/4] git commit: Update all docs callbacks for new fabric
Date Sun, 17 Aug 2014 02:14:09 GMT
Update all docs callbacks for new fabric


Project: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/commit/ff6da2e1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/tree/ff6da2e1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/diff/ff6da2e1

Branch: refs/heads/windsor-merge
Commit: ff6da2e1154304fb2a0836f166918699506a388c
Parents: e697e99
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Sat Aug 16 21:13:22 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Sat Aug 16 21:13:22 2014 -0500

----------------------------------------------------------------------
 src/cassim_metadata_cache.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/ff6da2e1/src/cassim_metadata_cache.erl
----------------------------------------------------------------------
diff --git a/src/cassim_metadata_cache.erl b/src/cassim_metadata_cache.erl
index 509b22a..8bd15fb 100644
--- a/src/cassim_metadata_cache.erl
+++ b/src/cassim_metadata_cache.erl
@@ -240,9 +240,9 @@ cleanup_old_docs(MetaId) ->
     ok.
 
 
-cleanup_old_docs_callback({total_and_offset, _Total, _Offset}, {MetaId, Acc}) ->
+cleanup_old_docs_callback({meta, _}, {MetaId, Acc}) ->
     {ok, {MetaId, Acc}};
-cleanup_old_docs_callback({row, {Row}}, {MetaId, Acc}) ->
+cleanup_old_docs_callback({row, Row}, {MetaId, Acc}) ->
     Id = couch_util:get_value(id, Row),
     case MetaId == Id of
         true ->


Mime
View raw message