summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/indexschema.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/indexschema.h')
-rw-r--r--kexi/kexidb/indexschema.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/indexschema.h b/kexi/kexidb/indexschema.h
index 54306af2..b93a88a4 100644
--- a/kexi/kexidb/indexschema.h
+++ b/kexi/kexidb/indexschema.h
@@ -118,7 +118,7 @@ class KEXI_DB_EXPORT IndexSchema : public FieldList, public SchemaData
Auto-generated index is one-field index
that was automatically generated
for CREATE TABLE statement when the field has
- UNITQUE or PRIMARY KEY constraint enabled.
+ UNIQUE or PRIMARY KEY constraint enabled.
Any newly created IndexSchema object
has this flag set to false.
@@ -137,16 +137,16 @@ class KEXI_DB_EXPORT IndexSchema : public FieldList, public SchemaData
/*! Sets PRIMARY KEY flag. \sa isPrimary().
Note: Setting PRIMARY KEY on (true),
- UNITQUE flag will be also implicity set. */
+ UNIQUE flag will be also implicity set. */
void setPrimaryKey(bool set);
/*! \return true if this is unique index.
This can be one or multifield. */
bool isUnique() const;
- /*! Sets UNITQUE flag. \sa isUnique().
- Note: Setting UNITQUE off (false), PRIMARY KEY flag will
- be also implicity set off, because this UNITQUE
+ /*! Sets UNIQUE flag. \sa isUnique().
+ Note: Setting UNIQUE off (false), PRIMARY KEY flag will
+ be also implicity set off, because this UNIQUE
is the requirement for PRIMARY KEYS. */
void setUnique(bool set);