No title Revision 333639646462 (Tue Dec 20 2011 at 14:28) - Diff Link to this snippet: https://friendpaste.com/s3PjhxzMQeaboSa5dDEi0 Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 12345678910111213diff --git a/src/couchdb/couch_btree_copy.erl b/src/couchdb/couch_btree_copy.erlindex 8b15a5c..afc7701 100644--- a/src/couchdb/couch_btree_copy.erl+++ b/src/couchdb/couch_btree_copy.erl@@ -167,7 +167,7 @@ finish_copy(#acc{cur_level = Level, max_level = Level, nodes = Nodes} = Acc) -> finish_copy(#acc{cur_level = Level, nodes = Nodes} = Acc) -> case dict:fetch(Level, Nodes) of- [] when Level =:= 1 ->+ [] -> Acc2 = Acc#acc{cur_level = Level + 1}, finish_copy(Acc2); [{LastKey, _} | _] = NodeList ->