Commit 2b94f886 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #287 Moved documentation from toku_rt_delete

back to toku_rt_insert.
The error code was for insert, not delete.

git-svn-id: file:///svn/tokudb@1742 c7de825b-a66e-492c-adef-691d508d4ae1
parent e360035b
......@@ -96,6 +96,8 @@ int toku_rt_find(toku_range_tree* tree, toku_range* range, unsigned k,
* EINVAL: If any pointer argument is NULL.
* EDOM: If the exact range (left, right, and data) already
* exists in the tree.
* If an overlapping range exists in the tree and
* allow_overlaps == FALSE.
* Other exit codes may be forwarded from underlying system calls.
*/
int toku_rt_insert(toku_range_tree* tree, toku_range* range);
......@@ -110,8 +112,6 @@ int toku_rt_insert(toku_range_tree* tree, toku_range* range);
* EINVAL: If any pointer argument is NULL.
* EDOM: If the exact range (left, right, and data) did
* not exist in the tree.
* If an overlapping range exists in the tree and
* allow_overlaps == FALSE.
* Other exit codes may be forwarded from underlying system calls.
*/
int toku_rt_delete(toku_range_tree* tree, toku_range* range);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment