diff options
author | mistachkin <mistachkin@noemail.net> | 2020-12-22 19:57:53 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2020-12-22 19:57:53 +0000 |
commit | 9a60e716f7092c9b52adfcb4ef03d76fd1aa8d03 (patch) | |
tree | c96c17d3f854e3ff4752d5ef4bdb333bc9acaea2 /src | |
parent | f39168e468af3b1d6b6d37efdcb081eced6724b2 (diff) | |
download | sqlite-9a60e716f7092c9b52adfcb4ef03d76fd1aa8d03.tar.gz sqlite-9a60e716f7092c9b52adfcb4ef03d76fd1aa8d03.zip |
Fix a couple spelling typos in comments.
FossilOrigin-Name: 907ddf86766ebdbe39bdc89543c1a7bbd65c710c9f3a3a4d796845b2c02b711b
Diffstat (limited to 'src')
-rw-r--r-- | src/insert.c | 2 | ||||
-rw-r--r-- | src/where.c | 2 |
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 ); |