X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..3648fc30af7a06fa7fbc0c70ee04dfb05b5ccf21:/stglibs/ibpp.lib/transaction.cpp diff --git a/stglibs/ibpp.lib/transaction.cpp b/stglibs/ibpp.lib/transaction.cpp index c9a38774..47eb61c7 100644 --- a/stglibs/ibpp.lib/transaction.cpp +++ b/stglibs/ibpp.lib/transaction.cpp @@ -103,9 +103,9 @@ void TransactionImpl::AddReservation(IBPP::Database db, tpb->Insert(table); tpb->Insert(isc_tpb_protected); break; - default : + /*default : throw LogicExceptionImpl("Transaction::AddReservation", - _("Illegal TTR value detected.")); + _("Illegal TTR value detected."));*/ } } else throw LogicExceptionImpl("Transaction::AddReservation", @@ -306,7 +306,7 @@ void TransactionImpl::AttachDatabaseImpl(DatabaseImpl* dbi, tpb->Insert(isc_tpb_rec_version); break; case IBPP::ilReadCommitted : tpb->Insert(isc_tpb_read_committed); tpb->Insert(isc_tpb_no_rec_version); break; - default : tpb->Insert(isc_tpb_concurrency); break; + case IBPP::ilConcurrency : tpb->Insert(isc_tpb_concurrency); break; } if (lr == IBPP::lrNoWait) tpb->Insert(isc_tpb_nowait);