mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-19 21:43:15 +03:00
Fix a 8-byte alignment problem in the query planner that might cause
problems on sparc when compiled with -m32. FossilOrigin-Name: 5dcffa671f592ae9355628afa439ae9a2d26f0cd
This commit is contained in:
@@ -5728,7 +5728,8 @@ WhereInfo *sqlite3WhereBegin(
|
||||
pMaskSet = &pWInfo->sMaskSet;
|
||||
sWLB.pWInfo = pWInfo;
|
||||
sWLB.pWC = &pWInfo->sWC;
|
||||
sWLB.pNew = (WhereLoop*)&pWInfo->a[nTabList];
|
||||
sWLB.pNew = (WhereLoop*)(((char*)pWInfo)+nByteWInfo);
|
||||
assert( EIGHT_BYTE_ALIGNMENT(sWLB.pNew) );
|
||||
whereLoopInit(sWLB.pNew);
|
||||
#ifdef SQLITE_DEBUG
|
||||
sWLB.pNew->cId = '*';
|
||||
|
||||
Reference in New Issue
Block a user