aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-11-11 19:11:44 +0000
committerdrh <drh@noemail.net>2020-11-11 19:11:44 +0000
commit75e6bbbeca2e9eb2499708e93b3034cba1ca7e5a (patch)
treee09e715bbca2c1dbcb1c087a669fb1113a754881 /src
parent235667a858fb5f98227ae19715f2539878705bcb (diff)
downloadsqlite-75e6bbbeca2e9eb2499708e93b3034cba1ca7e5a.tar.gz
sqlite-75e6bbbeca2e9eb2499708e93b3034cba1ca7e5a.zip
Fix a typo in a comment. No changes to code.
FossilOrigin-Name: 572f1ed59d29e74f810c74ef9e72ebc94c2d3e04befc03a1f88034f04a9c60a8
Diffstat (limited to 'src')
-rw-r--r--src/where.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c
index 423a847c5..95c1fc00d 100644
--- a/src/where.c
+++ b/src/where.c
@@ -4092,7 +4092,7 @@ static LogEst whereSortingCost(
/* Multiple by log(M) where M is the number of output rows.
** Use the LIMIT for M if it is smaller. Or if this sort is for
- ** a DISTINT operator, M will be the number of distinct output
+ ** a DISTINCT operator, M will be the number of distinct output
** rows, so fudge it downwards a bit.
*/
if( (pWInfo->wctrlFlags & WHERE_USE_LIMIT)!=0 && pWInfo->iLimit<nRow ){