1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Enhance EXPLAIN QUERY PLAN to report the generation of constant rows using

VALUES or just a SELECT without FROM.

FossilOrigin-Name: c75eee69fa8a9b56ee58a4cc539e80cc982f43390dc3a357344d58479dd89a41
This commit is contained in:
drh
2018-05-03 01:37:13 +00:00
parent cdf88760da
commit fa16f5d9d6
8 changed files with 35 additions and 25 deletions

View File

@@ -4592,7 +4592,7 @@ WhereInfo *sqlite3WhereBegin(
if( wctrlFlags & WHERE_WANT_DISTINCT ){
pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE;
}
/* ExplainQueryPlan((pParse, 0, "SCAN CONSTANT ROW")); */
ExplainQueryPlan((pParse, 0, "SCAN CONSTANT ROW"));
}else{
/* Assign a bit from the bitmask to every term in the FROM clause.
**