aboutsummaryrefslogtreecommitdiff
path: root/src/select.c
diff options
context:
space:
mode:
authordrh <>2023-07-18 17:29:05 +0000
committerdrh <>2023-07-18 17:29:05 +0000
commitd1db37a2f32b06d0cd53e66b18ee47ffea91ca87 (patch)
treed4fd8a0c78f90a147e6469513c09ad420fd51b1c /src/select.c
parente393f6eff00bd78bbda6ecfaf1feb957a845226b (diff)
downloadsqlite-d1db37a2f32b06d0cd53e66b18ee47ffea91ca87.tar.gz
sqlite-d1db37a2f32b06d0cd53e66b18ee47ffea91ca87.zip
Enhance the sqlite3_stmt_explain() interface so that avoids unnecessary
reprepare operations. FossilOrigin-Name: 050f773addd605f6690348c98e9000a9a3663bbc26288a71973fd7b40468e8ab
Diffstat (limited to 'src/select.c')
-rw-r--r--src/select.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/select.c b/src/select.c
index 4af812fa0..098b74584 100644
--- a/src/select.c
+++ b/src/select.c
@@ -2101,13 +2101,6 @@ void sqlite3GenerateColumnNames(
int fullName; /* TABLE.COLUMN if no AS clause and is a direct table ref */
int srcName; /* COLUMN or TABLE.COLUMN if no AS clause and is direct */
-#ifndef SQLITE_OMIT_EXPLAIN
- /* If this is an EXPLAIN, skip this step */
- if( pParse->explain ){
- return;
- }
-#endif
-
if( pParse->colNamesSet ) return;
/* Column names are determined by the left-most term of a compound select */
while( pSelect->pPrior ) pSelect = pSelect->pPrior;