8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00

Fixed the assertion, thanks to Adriano.

This commit is contained in:
dimitr 2013-07-07 07:50:44 +00:00
parent fb41d668ed
commit 6961e4066d

View File

@ -665,7 +665,7 @@ IndexTableScan* OptimizerRetrieval::getNavigation()
if (navigationCandidate < 0)
return NULL;
fb_assert(navigationCandidate <= indexScratches.getCount());
fb_assert(navigationCandidate < indexScratches.getCount());
IndexScratch* const indexScratch = &indexScratches[navigationCandidate];
// Looks like we can do a navigational walk. Flag that