1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix a problem with renaming tables when the schema contains WINDOW definitions with (illegal) non-numeric expressions as part of a PRECEDING or FOLLOWING clause.

FossilOrigin-Name: 348e7f193a963390a0595183d603541f85c5d1a911c98ed2e06599691ffe98f5
This commit is contained in:
dan
2019-07-19 11:20:42 +00:00
parent a1ac03590b
commit 750c6ba5e5
4 changed files with 55 additions and 8 deletions

View File

@@ -28,6 +28,8 @@ static int walkWindowList(Walker *pWalker, Window *pList){
if( sqlite3WalkExprList(pWalker, pWin->pOrderBy) ) return WRC_Abort;
if( sqlite3WalkExprList(pWalker, pWin->pPartition) ) return WRC_Abort;
if( sqlite3WalkExpr(pWalker, pWin->pFilter) ) return WRC_Abort;
if( sqlite3WalkExpr(pWalker, pWin->pStart) ) return WRC_Abort;
if( sqlite3WalkExpr(pWalker, pWin->pEnd) ) return WRC_Abort;
}
return WRC_Continue;
}