mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
New assert() statements to protect the u1 and u2 unions of SrcList.
FossilOrigin-Name: 9b91fbcfcc14048f7d0755d47d9b7f9212fa2eaa6f3c04f417fa16c3a47943bf
This commit is contained in:
@@ -3002,6 +3002,7 @@ static int whereLoopAddBtree(
|
||||
assert( !IsVirtual(pSrc->pTab) );
|
||||
|
||||
if( pSrc->fg.isIndexedBy ){
|
||||
assert( pSrc->fg.isCte==0 );
|
||||
/* An INDEXED BY clause specifies a particular index to use */
|
||||
pProbe = pSrc->u2.pIBIndex;
|
||||
}else if( !HasRowid(pTab) ){
|
||||
|
||||
Reference in New Issue
Block a user