diff options
author | drh <drh@noemail.net> | 2019-10-16 19:31:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-10-16 19:31:46 +0000 |
commit | 7e508f1ee2d671976fd1dbe4a8fdbc840ba39b97 (patch) | |
tree | baaf2ca21e888c94ff6c12a8811a3e253d39a962 /src/expr.c | |
parent | 81f7b372700d7595f486d364a26304b052eda55a (diff) | |
download | sqlite-7e508f1ee2d671976fd1dbe4a8fdbc840ba39b97.tar.gz sqlite-7e508f1ee2d671976fd1dbe4a8fdbc840ba39b97.zip |
Simple INSERT and SELECT operations working with VIRTUAL columns.
FossilOrigin-Name: 7f9f90b1b885fa9905b296f2e0fcc9b2341019b42fc839722a93cf60e49a9252
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index fea7b0a18..e02e14658 100644 --- a/src/expr.c +++ b/src/expr.c @@ -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 |