1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Fix the patch on this branch so that it works with sub-queries, as well as views.

FossilOrigin-Name: 7480db307c39b86bce269583e5917f5e1a3990500552fd98400ef3e7088c0b2a
This commit is contained in:
dan
2019-08-05 19:44:47 +00:00
parent 81506b88b8
commit 2046a77365
4 changed files with 11 additions and 16 deletions

View File

@@ -5196,9 +5196,7 @@ static void selectAddSubqueryTypeInfo(Walker *pWalker, Select *p){
Select *pSel = pFrom->pSelect;
if( pSel ){
while( pSel->pPrior ) pSel = pSel->pPrior;
sqlite3SelectAddColumnTypeAndCollation(
pParse, pTab, pSel, SQLITE_AFF_BLOB
);
sqlite3SelectAddColumnTypeAndCollation(pParse, pTab, pSel, 0);
}
}
}