mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Simple INSERT and SELECT operations working with VIRTUAL columns.
FossilOrigin-Name: 7f9f90b1b885fa9905b296f2e0fcc9b2341019b42fc839722a93cf60e49a9252
This commit is contained in:
@@ -3398,7 +3398,7 @@ void sqlite3ExprCodeGetColumnOfTable(
|
||||
}else if( pTab->aCol[iCol].colFlags & COLFLAG_VIRTUAL ){
|
||||
int savedSelfTab = pParse->iSelfTab;
|
||||
pParse->iSelfTab = iTabCur+1;
|
||||
sqlite3ExprCode(pParse, pTab->aCol[iCol].pDflt, iCol);
|
||||
sqlite3ExprCode(pParse, pTab->aCol[iCol].pDflt, regOut);
|
||||
pParse->iSelfTab = savedSelfTab;
|
||||
return;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user