From 83c7f3822965be2659dc7a5a8bf8d69d5775df29 Mon Sep 17 00:00:00 2001 From: dimitr Date: Sat, 6 Jan 2007 06:52:43 +0000 Subject: [PATCH] Fixed CS build. --- src/jrd/jrd.cpp | 6 +----- src/jrd/vio.cpp | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/jrd/jrd.cpp b/src/jrd/jrd.cpp index 7c6e460343..078d18b737 100644 --- a/src/jrd/jrd.cpp +++ b/src/jrd/jrd.cpp @@ -116,6 +116,7 @@ #include "../jrd/thread_proto.h" #include "../jrd/tra_proto.h" #include "../jrd/val_proto.h" +#include "../jrd/vio_proto.h" #include "../jrd/file_params.h" #include "../jrd/event_proto.h" #include "../jrd/why_proto.h" @@ -130,11 +131,6 @@ #include "../common/classes/ClumpletReader.h" #include "../jrd/DebugInterface.h" - -#ifdef GARBAGE_THREAD -#include "vio_proto.h" -#endif - using namespace Jrd; #ifdef SERVER_SHUTDOWN diff --git a/src/jrd/vio.cpp b/src/jrd/vio.cpp index 584b0716a1..acfd20b682 100644 --- a/src/jrd/vio.cpp +++ b/src/jrd/vio.cpp @@ -770,6 +770,7 @@ bool VIO_chase_record_version(thread_db* tdbb, record_param* rpb, RecordSource* return false; } +#ifdef GARBAGE_THREAD // hvlad: if i'm garbage collector I don't need to read backversion // of active record. Just do notify self about it if (attachment->att_flags & ATT_garbage_collector) @@ -778,6 +779,7 @@ bool VIO_chase_record_version(thread_db* tdbb, record_param* rpb, RecordSource* CCH_RELEASE(tdbb, &rpb->getWindow(tdbb)); return false; } +#endif if (!(rpb->rpb_flags & rpb_delta)) { rpb->rpb_prior = NULL;