1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix a broken assert() statement in select.c.

FossilOrigin-Name: ad78ef2b3a20e3c3191fba232cbae70656210cf5
This commit is contained in:
dan
2011-08-29 18:24:27 +00:00
parent 2f7820d8b5
commit 54bbe7f15e
3 changed files with 9 additions and 9 deletions

View File

@@ -3949,7 +3949,7 @@ int sqlite3Select(
if( pWInfo->eDistinct ){
VdbeOp *pOp; /* No longer required OpenEphemeral instr. */
assert( addrDistinctIndex>0 );
assert( addrDistinctIndex>=0 );
pOp = sqlite3VdbeGetOp(v, addrDistinctIndex);
assert( isDistinct );