1 --- src/jrd/vio.cpp 2011/09/29 03:27:33 53487
2 +++ jrd/vio.cpp 2011/09/29 07:45:12 53488
6 bool VIO_get_current(thread_db* tdbb,
7 - //record_param* old_rpb,
11 @@ -2025,12 +2024,14 @@
12 if (rpb->rpb_flags & rpb_deleted)
15 - if (rpb->rpb_flags & rpb_uk_modified)
16 - return !foreign_key;
18 - // clear lock error from status vector
19 - fb_utils::init_status(tdbb->tdbb_status_vector);
23 + // clear lock error from status vector
24 + fb_utils::init_status(tdbb->tdbb_status_vector);
25 + return !(rpb->rpb_flags & rpb_uk_modified);
28 + return !foreign_key;
31 if (transaction->tra_attachment->att_flags & ATT_no_cleanup) {