summaryrefslogtreecommitdiff
path: root/quick-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'quick-test.c')
-rw-r--r--quick-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/quick-test.c b/quick-test.c
index 6400c710..ccca9b2c 100644
--- a/quick-test.c
+++ b/quick-test.c
@@ -9,7 +9,7 @@
/* for testing only */
int next_key(int i, int max_key) {
return rand() % max_key;
- //return i;
+ // return i;
}
int main(int ac, char **av) {
@@ -44,6 +44,9 @@ int main(int ac, char **av) {
if (!ret)
tree_size++;
free(buf);
+ if (i == run_size - 5) {
+ commit_transaction(root, &super);
+ }
}
close_ctree(root, &super);