summaryrefslogtreecommitdiffstats
path: root/src/insert.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/insert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/insert.c b/src/insert.c
index 072386e..a7e9442 100644
--- a/src/insert.c
+++ b/src/insert.c
@@ -717,6 +717,7 @@ Select *sqlite3MultiValues(Parse *pParse, Select *pLeft, ExprList *pRow){
pRet->pSrc->nSrc = 1;
pRet->pPrior = pLeft->pPrior;
pRet->op = pLeft->op;
+ if( pRet->pPrior ) pRet->selFlags |= SF_Values;
pLeft->pPrior = 0;
pLeft->op = TK_SELECT;
assert( pLeft->pNext==0 );