You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2020/11/12 22:59:12 UTC

[couchdb] branch fix-ebtree-range-clears created (now 3828f92)

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a change to branch fix-ebtree-range-clears
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 3828f92  Avoid deleting UUID keys that start with zeros

This branch includes the following new commits:

     new 3828f92  Avoid deleting UUID keys that start with zeros

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Avoid deleting UUID keys that start with zeros

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch fix-ebtree-range-clears
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 3828f924459899b98d3414e697877839f0df7f75
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Nov 12 16:57:44 2020 -0600

    Avoid deleting UUID keys that start with zeros
---
 src/ebtree/src/ebtree.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ebtree/src/ebtree.erl b/src/ebtree/src/ebtree.erl
index 31e1fc8..8bfb2ea 100644
--- a/src/ebtree/src/ebtree.erl
+++ b/src/ebtree/src/ebtree.erl
@@ -56,7 +56,7 @@
 -define(META_ORDER, 0).
 
 -define(NODE, 1).
--define(NODE_ROOT_ID, <<0>>).
+-define(NODE_ROOT_ID, <<0:128>>).
 
 -define(underflow(Tree, Node), Tree#tree.min > length(Node#node.members)).
 -define(at_min(Tree, Node), Tree#tree.min == length(Node#node.members)).