aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insert.c2
-rw-r--r--src/where.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/insert.c b/src/insert.c
index 9913136db..bc8a7f5b2 100644
--- a/src/insert.c
+++ b/src/insert.c
@@ -1938,7 +1938,7 @@ void sqlite3GenerateConstraintChecks(
** the UNIQUE constraints have run.
*/
if( onError==OE_Replace /* IPK rule is REPLACE */
- && onError!=overrideError /* Rules for other contraints are different */
+ && onError!=overrideError /* Rules for other constraints are different */
&& pTab->pIndex /* There exist other constraints */
){
ipkTop = sqlite3VdbeAddOp0(v, OP_Goto)+1;
diff --git a/src/where.c b/src/where.c
index e2f8cbca2..0f219d439 100644
--- a/src/where.c
+++ b/src/where.c
@@ -2605,7 +2605,7 @@ static int whereLoopAddBtreeIndex(
pBtm = pTerm;
pTop = 0;
if( pTerm->wtFlags & TERM_LIKEOPT ){
- /* Range contraints that come from the LIKE optimization are
+ /* Range constraints that come from the LIKE optimization are
** always used in pairs. */
pTop = &pTerm[1];
assert( (pTop-(pTerm->pWC->a))<pTerm->pWC->nTerm );