X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2501ff5278198b17c195536d0953cbb40d1a5d3b..9a834ba2e0caea6edffec5c1db403cf9832ea96e:/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);