mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Merge all the latest trunk enhancements, and especially the
order-by-subquery optimization, into the bedrock branch, via wal2. FossilOrigin-Name: d0591db3bb84c8f6325d3d5a44467f602cf6d8da6aef6456ef0bd3a19fca3d90
This commit is contained in:
@@ -580,8 +580,7 @@ static void walidxSetMxFrame(WalIndexHdr *pHdr, int iWal, u32 mxFrame){
|
||||
assert( walidxGetMxFrame(pHdr, iWal)==mxFrame );
|
||||
}
|
||||
|
||||
#define walidxGetFile(pHdr) ((int)((pHdr)->mxFrame2 >> 31))
|
||||
|
||||
#define walidxGetFile(pHdr) (int)((pHdr)->mxFrame2 >> 31)
|
||||
#define walidxSetFile(pHdr, iWal) ( \
|
||||
(pHdr)->mxFrame2 = ((pHdr)->mxFrame2 & 0x7FFFFFFF) | (((u32)(iWal))<<31) \
|
||||
)
|
||||
|
Reference in New Issue
Block a user