From 8c731a42d78e34b347018efe8168aa5607b9caa1 Mon Sep 17 00:00:00 2001 From: dimitr Date: Thu, 27 Aug 2009 10:48:59 +0000 Subject: [PATCH] Misc. --- src/jrd/rse.cpp | 2 ++ src/jrd/rse.h | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jrd/rse.cpp b/src/jrd/rse.cpp index 8188d38633..48143bbeb0 100644 --- a/src/jrd/rse.cpp +++ b/src/jrd/rse.cpp @@ -403,7 +403,9 @@ void RSE_open(thread_db* tdbb, RecordSource* rsb) { case rsb_indexed: impure->irsb_bitmap = EVL_bitmap(tdbb, (jrd_nod*) rsb->rsb_arg[0], NULL); +#ifdef SUPERSERVER_V2 impure->irsb_prefetch_number = -1; +#endif case rsb_navigate: case rsb_sequential: diff --git a/src/jrd/rse.h b/src/jrd/rse.h index c0190bbf62..ef86a9065d 100644 --- a/src/jrd/rse.h +++ b/src/jrd/rse.h @@ -197,22 +197,21 @@ struct irsb_recurse struct irsb_first_n { ULONG irsb_flags; - //SLONG irsb_number; SINT64 irsb_count; }; struct irsb_skip_n { ULONG irsb_flags; - //SLONG irsb_number; SINT64 irsb_count; }; struct irsb_index { ULONG irsb_flags; - //SLONG irsb_number; +#ifdef SUPERSERVER_V2 SLONG irsb_prefetch_number; +#endif RecordBitmap** irsb_bitmap; };