X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2Frelation.c;h=e7469de74b203b3b56ef8f6d45a2f9329bfa6f91;hb=e887b2e80a665a45b411a0d9fd832f96a1a4f893;hp=8ab343f6cb739104768bd02116a5472f9ce8dfee;hpb=d9858ce46cb09b9127c7246f628e65982aa43a15;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