mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
Correction. Thanks to Claudio
This commit is contained in:
parent
0cbb6578b2
commit
a3e64959da
@ -1339,7 +1339,7 @@ RecordSource* OptimizerRetrieval::generateNavigation()
|
||||
idx->idx_runtime_flags |= idx_navigate;
|
||||
//return gen_nav_rsb(tdbb, opt, stream, relation, alias, idx);
|
||||
|
||||
USHORT key_length = ROUNDUP(BTR_key_length(0, relation, idx), sizeof(SLONG));
|
||||
USHORT key_length = ROUNDUP(BTR_key_length(tdbb, relation, idx), sizeof(SLONG));
|
||||
RecordSource* rsb = FB_NEW_RPT(*tdbb->getDefaultPool(), RSB_NAV_count) RecordSource();
|
||||
rsb->rsb_type = rsb_navigate;
|
||||
rsb->rsb_relation = relation;
|
||||
|
Loading…
Reference in New Issue
Block a user