From: Sebastian B. <sb...@us...> - 2014-01-19 18:44:45
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24076 Modified Files: index_external.c Log Message: Grouped the assignment of the path elements together. Index: index_external.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_external.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- index_external.c 19 Jan 2014 18:44:19 -0000 1.33 +++ index_external.c 19 Jan 2014 18:44:43 -0000 1.34 @@ -254,9 +254,6 @@ bnode_read_block(idx, tmp, block); - path->max_level = level; - path->node[level].block = block; - /* Find the slot with the separation key for the given text. The slot with * the separation key for a given text is the slot whose value is not * lexicographically smaller than the text but whose left neighbor slot value @@ -282,6 +279,8 @@ if (i == 0) lchild = tmp->lchild; else lchild = bnode_get_ith_element_of_node(idx, tmp, i - 1)->gchild; + path->max_level = level; + path->node[level].block = block; path->node[level].key_index = i; /* Leave early if this was a direct match with a separation key. |