mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Fix a problem with ALTER TABLE and correlated multi-row VALUES clauses.
FossilOrigin-Name: d543c829ef74dbd64105bd757ca660e4f02e9ce562be4f1688a701fa535351c4
This commit is contained in:
@@ -675,6 +675,7 @@ Select *sqlite3MultiValues(Parse *pParse, Select *pLeft, ExprList *pRow){
|
||||
|| pParse->db->init.busy /* condition (b) above */
|
||||
|| exprListIsConstant(pRow)==0 /* condition (c) above */
|
||||
|| (pLeft->pSrc->nSrc==0 && exprListIsNoAffinity(pLeft->pEList)==0) /* (d) */
|
||||
|| IN_SPECIAL_PARSE
|
||||
){
|
||||
/* The co-routine method cannot be used. Fall back to UNION ALL. */
|
||||
Select *pSelect = 0;
|
||||
|
||||
Reference in New Issue
Block a user