From: Ralph Ronnquist Date: Fri, 8 Jul 2022 05:15:09 +0000 (+1000) Subject: spelling correction X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=a4e15c51ff79f329b6069f0b645af48507375438;p=rrq%2Frrqmisc.git spelling correction --- 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 diff --git a/vector/relation.h b/vector/relation.h index e66d570..f76f1bb 100644 --- a/vector/relation.h +++ b/vector/relation.h @@ -72,7 +72,7 @@ extern relation *relation_create(tupleschema *schema); * \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.