From 707115ebbe83ce68bf6162b5a0ebc43b022a2f31 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 3 Jan 2005 09:23:25 +0000 Subject: [PATCH] Fix odd/even delete test --- isamb/tstisamb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/isamb/tstisamb.c b/isamb/tstisamb.c index 17f2a38..c1dd5f9 100644 --- a/isamb/tstisamb.c +++ b/isamb/tstisamb.c @@ -1,4 +1,4 @@ -/* $Id: tstisamb.c,v 1.14 2005-01-02 18:51:31 adam Exp $ +/* $Id: tstisamb.c,v 1.15 2005-01-03 09:23:25 adam Exp $ Copyright (C) 1995-2005 Index Data Aps @@ -143,7 +143,6 @@ void tst_insert(ISAMB isb, int n) if (nerrs) exit(3); - return; /* delete a number of entries (even ones) */ ri.no = 0; ri.step = 2; @@ -156,7 +155,7 @@ void tst_insert(ISAMB isb, int n) isamc_p = isamb_merge (isb, isamc_p , &isamc_i); /* delete a number of entries (odd ones) */ - ri.no = 0; + ri.no = 1; ri.step = 2; ri.max = n; ri.insertMode = 0; -- 1.7.10.4