X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2Frelation.c;h=e7469de74b203b3b56ef8f6d45a2f9329bfa6f91;hb=a4e15c51ff79f329b6069f0b645af48507375438;hp=8ab343f6cb739104768bd02116a5472f9ce8dfee;hpb=47f0e2bd1cc8942f5c92ffa2f37db416d98d9e9e;p=rrq%2Frrqmisc.git diff --git a/vector/relation.c b/vector/relation.c index 8ab343f..e7469de 100644 --- a/vector/relation.c +++ b/vector/relation.c @@ -27,7 +27,7 @@ relation *relation_create(tupleschema *schema) { // Add an indexing hashvector to the relation using the nominated // column indexes being the value part. the key must be a clone of the // relation columns but with some columns reset. -int relation_add_contraint(relation *r,tupleschema *key) { +int relation_add_constraint(relation *r,tupleschema *key) { tupleschema *primary = (tupleschema *) r->content.type; if ( primary->arity != key->arity ) { return -1; // no good