summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kexisql3/src/insert.c
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-13 13:15:14 -0600
committerTimothy Pearson <[email protected]>2012-01-13 13:15:14 -0600
commit735d75d6ce19269dc5faa00abc8f88ff30ce2f23 (patch)
tree4e85ad9cc0479892232125234c6b71c4f17ac611 /kexi/3rdparty/kexisql3/src/insert.c
parentb180811d9a814c638032f77aaf02e84a3126328c (diff)
downloadkoffice-735d75d6ce19269dc5faa00abc8f88ff30ce2f23.tar.gz
koffice-735d75d6ce19269dc5faa00abc8f88ff30ce2f23.zip
Fix inadvertent TQt string conversions
This closes Bug 782
Diffstat (limited to 'kexi/3rdparty/kexisql3/src/insert.c')
-rw-r--r--kexi/3rdparty/kexisql3/src/insert.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/3rdparty/kexisql3/src/insert.c b/kexi/3rdparty/kexisql3/src/insert.c
index 7b8735a1..28d4236e 100644
--- a/kexi/3rdparty/kexisql3/src/insert.c
+++ b/kexi/3rdparty/kexisql3/src/insert.c
@@ -746,7 +746,7 @@ insert_cleanup:
** aIdxUsed!=0 and aIdxUsed[i]!=0.
**
** This routine also generates code to check constraints. NOT NULL,
-** CHECK, and UNITQUE constraints are all checked. If a constraint fails,
+** CHECK, and UNIQUE constraints are all checked. If a constraint fails,
** then the appropriate action is performed. There are five possible
** actions: ROLLBACK, ABORT, FAIL, REPLACE, and IGNORE.
**
@@ -774,7 +774,7 @@ insert_cleanup:
** value for that column. If the default value
** is NULL, the action is the same as ABORT.
**
-** UNITQUE REPLACE The other row that conflicts with the row
+** UNIQUE REPLACE The other row that conflicts with the row
** being inserted is removed.
**
** CHECK REPLACE Illegal. The results in an exception.
@@ -927,7 +927,7 @@ void sqlite3GenerateConstraintChecks(
}
}
- /* Test all UNITQUE constraints by creating entries for each UNITQUE
+ /* Test all UNIQUE constraints by creating entries for each UNIQUE
** index and making sure that duplicate entries do not already exist.
** Add the new records to the indices as we go.
*/
@@ -951,7 +951,7 @@ void sqlite3GenerateConstraintChecks(
/* Find out what action to take in case there is an indexing conflict */
onError = pIdx->onError;
- if( onError==OE_None ) continue; /* pIdx is not a UNITQUE index */
+ if( onError==OE_None ) continue; /* pIdx is not a UNIQUE index */
if( overrideError!=OE_Default ){
onError = overrideError;
}else if( onError==OE_Default ){
@@ -1015,7 +1015,7 @@ void sqlite3GenerateConstraintChecks(
break;
}
}
-#if NULL_DISTINCT_FOR_UNITQUE
+#if NULL_DISTINCT_FOR_UNIQUE
sqlite3VdbeJumpHere(v, jumpInst1);
#endif
sqlite3VdbeJumpHere(v, jumpInst2);