// 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
* \see tupleschema_mask, relation_add
* \related relation
*/
-extern int relation_add_contraint(relation *r,tupleschema *key);
+extern int relation_add_constraint(relation *r,tupleschema *key);
/**
* \brief Add the tuple to the relation.