File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -2294,6 +2294,11 @@ bool VIO_get_current(thread_db* tdbb,
2294
2294
VIO_data (tdbb, rpb, pool);
2295
2295
return true ;
2296
2296
2297
+ case tra_limbo:
2298
+ if (!(transaction->tra_flags & TRA_ignore_limbo))
2299
+ ERR_post (Arg::Gds (isc_rec_in_limbo) << Arg::Num (rpb->rpb_transaction_nr ));
2300
+ // fall thru
2301
+
2297
2302
case tra_active:
2298
2303
// clear lock error from status vector
2299
2304
fb_utils::init_status (tdbb->tdbb_status_vector );
@@ -2338,10 +2343,6 @@ bool VIO_get_current(thread_db* tdbb,
2338
2343
}
2339
2344
break ;
2340
2345
2341
- case tra_limbo:
2342
- BUGCHECK (184 ); // limbo impossible
2343
- break ;
2344
-
2345
2346
default :
2346
2347
fb_assert (false );
2347
2348
}
@@ -5362,11 +5363,14 @@ static int prepare_update( thread_db* tdbb,
5362
5363
Arg::Gds (isc_update_conflict) <<
5363
5364
Arg::Gds (isc_concurrent_transaction) << Arg::Num (update_conflict_trans));
5364
5365
}
5365
- case tra_active:
5366
- return PREPARE_LOCKERR;
5367
5366
5368
5367
case tra_limbo:
5369
- ERR_post (Arg::Gds (isc_deadlock) << Arg::Gds (isc_trainlim));
5368
+ if (!(transaction->tra_flags & TRA_ignore_limbo))
5369
+ ERR_post (Arg::Gds (isc_rec_in_limbo) << Arg::Num (rpb->rpb_transaction_nr ));
5370
+ // fall thru
5371
+
5372
+ case tra_active:
5373
+ return PREPARE_LOCKERR;
5370
5374
5371
5375
case tra_dead:
5372
5376
break ;
You can’t perform that action at this time.
0 commit comments