From: Adriano d. S. F. <asf...@us...> - 2008-03-03 00:47:11
|
Build Version : T2.5.0.18642 Firebird 2.5 Unstable (writeBuildNum.sh,v 1.18802 2008/03/03 00:47:10 asfernandes ) Update of /cvsroot/firebird/firebird2/src/jrd In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv15080/src/jrd Modified Files: jrd.cpp Log Message: 1) Restore logic of not handled exceptions 2) Initialize some status vectors Index: jrd.cpp =================================================================== RCS file: /cvsroot/firebird/firebird2/src/jrd/jrd.cpp,v retrieving revision 1.402 retrieving revision 1.403 diff -b -U3 -r1.402 -r1.403 --- jrd.cpp 2 Mar 2008 21:16:16 -0000 1.402 +++ jrd.cpp 3 Mar 2008 00:47:04 -0000 1.403 @@ -3312,7 +3312,7 @@ { if (prior) { - ISC_STATUS_ARRAY temp_status; + ISC_STATUS_ARRAY temp_status = {0}; rollback(temp_status, &prior, false); } @@ -5414,7 +5414,7 @@ tdbb->setAttachment(attach); // purge_attachment() below can do an ERR_post - ISC_STATUS_ARRAY temp_status; + ISC_STATUS_ARRAY temp_status = {0}; tdbb->tdbb_status_vector = temp_status; try @@ -6039,7 +6039,7 @@ Attachment* attachment, Database* dbb) { - ISC_STATUS_ARRAY temp_status; + ISC_STATUS_ARRAY temp_status = {0}; ISC_STATUS* const save_status = tdbb->tdbb_status_vector; tdbb->tdbb_status_vector = temp_status; @@ -6162,7 +6162,7 @@ catch (const Firebird::Exception&) { ISC_STATUS* old_status = tdbb->tdbb_status_vector; - ISC_STATUS_ARRAY temp_status; + ISC_STATUS_ARRAY temp_status = {0}; tdbb->tdbb_status_vector = temp_status; try |