projects
/
rrq
/
rrqmisc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e08c60
)
adapt to use Relation_next
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Wed, 13 Jul 2022 06:09:27 +0000
(16:09 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Wed, 13 Jul 2022 06:09:27 +0000
(16:09 +1000)
tests/relationtests.c
patch
|
blob
|
history
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++ ) {
- Tuple *t =
HashVector_next( &r->content
, &i, query );
+ Tuple *t =
Relation_next( r
, &i, query );
fprintf( stderr, "check %s\n", tuple2string( r, t ) );
}
}