Performance optimization: Avoid calling convertCompoundSelecctToSubquery()

on queries that do not use the UNION, EXCEPT, or INTERSECT operators.

FossilOrigin-Name: c589b2fed7beabc2337d701094c22635914d9c23
This commit is contained in:
drh
2013-08-05 22:05:02 +00:00
parent f3d2aaeca2
commit d58d3278cb
5 changed files with 17 additions and 12 deletions
+1
View File
@@ -417,6 +417,7 @@ select(A) ::= select(X) multiselect_op(Y) oneselect(Z). {
if( Z ){
Z->op = (u8)Y;
Z->pPrior = X;
if( Y!=TK_ALL ) pParse->hasCompound = 1;
}else{
sqlite3SelectDelete(pParse->db, X);
}