From: Ralph Ronnquist Date: Wed, 13 Jul 2022 06:09:27 +0000 (+1000) Subject: adapt to use Relation_next X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=e2a4bddff3aa82d2a0b00fedc3b4f6c96a11608e;p=rrq%2Frrqmisc.git adapt to use Relation_next --- diff --git a/tests/relationtests.c b/tests/relationtests.c index 459af74..b9d40dc 100644 --- a/tests/relationtests.c +++ b/tests/relationtests.c @@ -27,7 +27,7 @@ static char *tuple2string(Relation *r,Tuple *t) { static void query_report(Relation *r,Tuple *query) { VectorIndex i; for ( i = 0; i < r->content.table.size; i++ ) { - Tuple *t = HashVector_next( &r->content, &i, query ); + Tuple *t = Relation_next( r, &i, query ); fprintf( stderr, "check %s\n", tuple2string( r, t ) ); } }