aboutsummaryrefslogtreecommitdiff
path: root/src/where.c
diff options
context:
space:
mode:
authordrh <>2024-05-31 14:39:42 +0000
committerdrh <>2024-05-31 14:39:42 +0000
commitd72ca8f810a0159d87cc16321a8d974373eceab3 (patch)
tree1745492a16ff3feb3df2b907e9f3bfee292e9d90 /src/where.c
parent2f755cdc3ac105837b9cd0aecf35275b83c56b07 (diff)
downloadsqlite-d72ca8f810a0159d87cc16321a8d974373eceab3.tar.gz
sqlite-d72ca8f810a0159d87cc16321a8d974373eceab3.zip
Document the OP_Explain opcode. Add the WhereLoop.rRun value as P3 in
OP_Explain opcodes associated with WhereLoops, for testing purposes. FossilOrigin-Name: 996c46e61d9a53a54018672dd407b8ba8c480dd6795393428f9d5fcb81b47ab5
Diffstat (limited to 'src/where.c')
-rw-r--r--src/where.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c
index ed095fa3b..64bda2327 100644
--- a/src/where.c
+++ b/src/where.c
@@ -5262,7 +5262,7 @@ static LogEst whereSortingCost(
** smaller tables. The central table is called the "fact" table.
** The smaller tables that get joined are "dimension tables".
**
-** SIDE EFFECT:
+** SIDE EFFECT: (and really the whole point of this subroutine)
**
** If pWInfo describes a star-query, then the cost on WhereLoops for the
** fact table is reduced. This heuristic helps keep fact tables in