X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=tests%2Frelationtests.c;h=b9d40dce83015d81a8dd65fbba8cb5029a54030e;hb=e2a4bddff3aa82d2a0b00fedc3b4f6c96a11608e;hp=459af748dc99d73acf448b058815128e19df985e;hpb=8e08c60aa6d5a3520f3f7232c9efe1e6bd93c8a7;p=rrq%2Frrqmisc.git 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 ) ); } }