mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-19 21:43:15 +03:00
Restore the PRAGMA reverse_unordered_selects behavior.
FossilOrigin-Name: f49cd6c4e752e39801f9d5de0bc370d26f43837c
This commit is contained in:
@@ -5250,6 +5250,8 @@ WhereInfo *sqlite3WhereBegin(
|
||||
if( pWInfo->pOrderBy ){
|
||||
wherePathSolver(pWInfo, pWInfo->nRowOut);
|
||||
if( db->mallocFailed ) goto whereBeginError;
|
||||
}else if( db->flags & SQLITE_ReverseOrder ){
|
||||
pWInfo->revMask = (Bitmask)(-1);
|
||||
}
|
||||
if( pParse->nErr || db->mallocFailed ){
|
||||
goto whereBeginError;
|
||||
|
||||
Reference in New Issue
Block a user