projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adapt to use Relation_next
[rrq/rrqmisc.git]
/
tests
/
relationtests.c
diff --git
a/tests/relationtests.c
b/tests/relationtests.c
index 459af748dc99d73acf448b058815128e19df985e..b9d40dce83015d81a8dd65fbba8cb5029a54030e 100644
(file)
--- 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++ ) {
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 ) );
}
}
fprintf( stderr, "check %s\n", tuple2string( r, t ) );
}
}