couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] couchdb-cassim git commit: Fix changes callback function clause for stop event
Date Tue, 10 Jan 2017 19:38:58 GMT
Repository: couchdb-cassim
Updated Branches:
  refs/heads/master b3bfd65bc -> 7f0344970


Fix changes callback function clause for stop event


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

Branch: refs/heads/master
Commit: 33bf3bb3104b4d3dda903fce67937e3dfbe58ffb
Parents: ab1ef1c
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Mar 9 23:10:51 2016 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Mar 9 23:10:51 2016 +0300

----------------------------------------------------------------------
 src/cassim_metadata_cache.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/33bf3bb3/src/cassim_metadata_cache.erl
----------------------------------------------------------------------
diff --git a/src/cassim_metadata_cache.erl b/src/cassim_metadata_cache.erl
index ceb6c9e..25e0937 100644
--- a/src/cassim_metadata_cache.erl
+++ b/src/cassim_metadata_cache.erl
@@ -166,7 +166,7 @@ changes_callback(waiting_for_updates, Acc) ->
     {ok, Acc};
 changes_callback(start, Since) ->
     {ok, Since};
-changes_callback({stop, EndSeq}, _) ->
+changes_callback({stop, EndSeq, _Pending}, _) ->
     exit({seq, EndSeq});
 changes_callback({change, {Change}}, _) ->
     Id = couch_util:get_value(id, Change),


Mime
View raw message