1
0
Fork 0

Correct comments a bit.

This commit is contained in:
Max Neunhoeffer 2013-11-07 14:10:28 +01:00
parent b1823cf7f4
commit 99d9f6db1b
1 changed files with 2 additions and 3 deletions

View File

@ -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 // 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 // already exists either replace it or return false. Recall that this
// skip list is used for unique key/value pairs. Use the skiplist-multi // 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 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 // 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 // already exists either replace it or return false. Recall that this
// skip list is used for unique key/value pairs. Use the skiplist-multi // skip list is used for non-unique key/value pairs.
// non-unique key/value pairs.
// ........................................................................... // ...........................................................................
currentLevel = skiplist->base._startNode._colLength - 1; // NOT current height BUT current level is required here currentLevel = skiplist->base._startNode._colLength - 1; // NOT current height BUT current level is required here