mirror of https://gitee.com/bigwinds/arangodb
Correct comments a bit.
This commit is contained in:
parent
b1823cf7f4
commit
99d9f6db1b
|
@ -599,7 +599,7 @@ int TRI_InsertKeySkipList (TRI_skiplist_t* skiplist,
|
|||
// Determine the path where the new item is to be inserted. If the item
|
||||
// already exists either replace it or return false. Recall that this
|
||||
// skip list is used for unique key/value pairs. Use the skiplist-multi
|
||||
// non-unique key/value pairs.
|
||||
// for non-unique key/value pairs.
|
||||
// ...........................................................................
|
||||
|
||||
currentLevel = skiplist->base._startNode._colLength - 1; // NOT current height BUT current level is required here
|
||||
|
@ -1734,8 +1734,7 @@ int TRI_InsertElementSkipListMulti (TRI_skiplist_multi_t* skiplist,
|
|||
// ...........................................................................
|
||||
// Determine the path where the new item is to be inserted. If the item
|
||||
// already exists either replace it or return false. Recall that this
|
||||
// skip list is used for unique key/value pairs. Use the skiplist-multi
|
||||
// non-unique key/value pairs.
|
||||
// skip list is used for non-unique key/value pairs.
|
||||
// ...........................................................................
|
||||
|
||||
currentLevel = skiplist->base._startNode._colLength - 1; // NOT current height BUT current level is required here
|
||||
|
|
Loading…
Reference in New Issue