From a4e15c51ff79f329b6069f0b645af48507375438 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Fri, 8 Jul 2022 15:15:09 +1000 Subject: [PATCH] spelling correction --- vector/relation.c | 2 +- vector/relation.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.2