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

The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.

Seventh step: since RSE_MARK_CRACK became a no-op, remove it from the sources.
This commit is contained in:
robocop 2006-02-02 07:37:26 +00:00
parent 8231f3f068
commit 2b8121da2f
2 changed files with 0 additions and 12 deletions

View File

@ -397,7 +397,6 @@ bool NAV_get_record(thread_db* tdbb,
irb_partial |
irb_starting)) > 0)
{
RSE_MARK_CRACK(tdbb, rsb, irsb_crack);
break;
}
@ -408,7 +407,6 @@ bool NAV_get_record(thread_db* tdbb,
irb_partial |
irb_starting)) < 0)
{
RSE_MARK_CRACK(tdbb, rsb, irsb_crack);
break;
}
#endif
@ -967,20 +965,11 @@ static bool get_record(
result = false;
}
else {
// the successful retrieval of a record
// means we are no longer on a crack
RSE_MARK_CRACK(tdbb, rsb, 0);
// mark in the navigational bitmap that we have visited this record
RBM_SET(tdbb->getDefaultPool(), &impure->irsb_nav_records_visited, rpb->rpb_number.getValue());
}
}
if (!result) {
RSE_MARK_CRACK(tdbb, rsb, irsb_crack);
}
if (inhibit_cleanup) {
tdbb->tdbb_attachment->att_flags &= ~ATT_no_cleanup;
tdbb->tdbb_attachment->att_flags |= (old_att_flags & ATT_no_cleanup);

View File

@ -36,7 +36,6 @@ namespace Jrd {
void RSE_close(Jrd::thread_db*, Jrd::RecordSource*);
bool RSE_get_record(Jrd::thread_db*, Jrd::RecordSource*, Jrd::rse_get_mode);
void RSE_open(Jrd::thread_db*, Jrd::RecordSource*);
#define RSE_MARK_CRACK(t, var1, var2)
#endif // JRD_RSE_PROTO_H