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

Correction. Thanks to Claudio

This commit is contained in:
hvlad 2005-05-12 13:51:43 +00:00
parent 0cbb6578b2
commit a3e64959da

View File

@ -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;