mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Use a separate bit on db->dbOptFlags to disable the xInverse optimization on
window functions, rather than reusing the query-flattener disable bit. FossilOrigin-Name: bc0fb1c324be2fd668bc4398c7d364b7e3c5a98537fe5fb58a125b66f3e6d041
This commit is contained in:
@@ -1092,7 +1092,7 @@ Window *sqlite3WindowAlloc(
|
||||
pWin->eFrmType = eType;
|
||||
pWin->eStart = eStart;
|
||||
pWin->eEnd = eEnd;
|
||||
if( eExclude==0 && OptimizationDisabled(pParse->db, SQLITE_QueryFlattener) ){
|
||||
if( eExclude==0 && OptimizationDisabled(pParse->db, SQLITE_WindowFunc) ){
|
||||
eExclude = TK_NO;
|
||||
}
|
||||
pWin->eExclude = eExclude;
|
||||
|
Reference in New Issue
Block a user