From 99d9f6db1b803f7c805dbef4c455da99ee34c3a6 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Thu, 7 Nov 2013 14:10:28 +0100 Subject: [PATCH] Correct comments a bit. --- arangod/SkipLists/skiplist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arangod/SkipLists/skiplist.c b/arangod/SkipLists/skiplist.c index 556c769fc9..939ffbce29 100644 --- a/arangod/SkipLists/skiplist.c +++ b/arangod/SkipLists/skiplist.c @@ -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