1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Simplify a branch in the "*" expansion logic. New test case for an

INSTEAD OF trigger on a RIGHT and FULL outer join.

FossilOrigin-Name: d2717348f43b571c7bb58498e0c723331abf85de174189e66aca2c438ca26d5f
This commit is contained in:
drh
2022-05-09 12:59:16 +00:00
parent 41724ebc5a
commit 77874e782b
4 changed files with 48 additions and 11 deletions

View File

@@ -5884,7 +5884,7 @@ static int selectExpander(Walker *pWalker, Select *p){
*/
if( pTab->aCol[j].colFlags & (COLFLAG_HIDDEN|COLFLAG_NOEXPAND) ){
if( IsHiddenColumn(&pTab->aCol[j])
&& (selFlags & (SF_IncludeHidden|SF_NestedFrom))==0
&& (selFlags & SF_IncludeHidden)==0
){
continue;
}