aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2016-07-10 19:35:10 +0000
committermistachkin <mistachkin@noemail.net>2016-07-10 19:35:10 +0000
commite234cfd11f76cff3e7846c56eb1ddaeda3b33ac2 (patch)
treec13d0d5ab0ddf2ac728f778e58e66ad978e97bf4 /src
parente39cd91aeaf3b2dc255ab56d3d0854ecaaa115d3 (diff)
downloadsqlite-e234cfd11f76cff3e7846c56eb1ddaeda3b33ac2.tar.gz
sqlite-e234cfd11f76cff3e7846c56eb1ddaeda3b33ac2.zip
Fix typos in comments. No changes to code.
FossilOrigin-Name: 77c692a6704cd877ba35d0afb774ab9b46364d59
Diffstat (limited to 'src')
-rw-r--r--src/expr.c2
-rw-r--r--src/wherecode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index ce3a47656..ea52d6625 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -1835,7 +1835,7 @@ int sqlite3FindInIndex(Parse *pParse, Expr *pX, u32 inFlags, int *prRhsHasNull){
/* If no preexisting index is available for the IN clause
** and IN_INDEX_NOOP is an allowed reply
** and the RHS of the IN operator is a list, not a subquery
- ** and the RHS is not contant or has two or fewer terms,
+ ** and the RHS is not constant or has two or fewer terms,
** then it is not worth creating an ephemeral table to evaluate
** the IN operator so return IN_INDEX_NOOP.
*/
diff --git a/src/wherecode.c b/src/wherecode.c
index a017b40c7..0b307761b 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -569,7 +569,7 @@ static int codeAllEqualityTerms(
** expression: "x>='ABC' AND x<'abd'". But this requires that the range
** scan loop run twice, once for strings and a second time for BLOBs.
** The OP_String opcodes on the second pass convert the upper and lower
-** bound string contants to blobs. This routine makes the necessary changes
+** bound string constants to blobs. This routine makes the necessary changes
** to the OP_String opcodes for that to happen.
**
** Except, of course, if SQLITE_LIKE_DOESNT_MATCH_BLOBS is defined, then