From e2a4bddff3aa82d2a0b00fedc3b4f6c96a11608e Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 13 Jul 2022 16:09:27 +1000 Subject: [PATCH] adapt to use Relation_next --- tests/relationtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } } -- 2.39.2