118
116
int iDb; /* The index of the database the expression refers to */
120
118
if( db->xAuth==0 ) return;
122
120
iDb = sqlite3SchemaToIndex(pParse->db, pSchema);
124
122
/* An attempt to read a column out of a subquery or other
132
131
pTab = pTabList->a[iSrc].pTab;
142
144
assert( pExpr->iColumn<pTab->nCol );
143
145
zCol = pTab->aCol[pExpr->iColumn].zName;