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:
parent
fb41d668ed
commit
6961e4066d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user