[rhmessaging-commits] rhmessaging commits: r3088 - store/trunk/cpp/lib/jrnl.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri Jan 30 13:50:40 EST 2009


Author: kpvdr
Date: 2009-01-30 13:50:40 -0500 (Fri, 30 Jan 2009)
New Revision: 3088

Modified:
   store/trunk/cpp/lib/jrnl/rmgr.cpp
Log:
Final fix for BZ466533 - "Journal read tests fail occasionally with error JERR_RMGR_UNKNOWNMAGIC".

Modified: store/trunk/cpp/lib/jrnl/rmgr.cpp
===================================================================
--- store/trunk/cpp/lib/jrnl/rmgr.cpp	2009-01-30 17:42:21 UTC (rev 3087)
+++ store/trunk/cpp/lib/jrnl/rmgr.cpp	2009-01-30 18:50:40 UTC (rev 3088)
@@ -226,13 +226,8 @@
             case RHM_JDAT_EMPTY_MAGIC:
                 consume_filler();
                 break;
-            case 0:
-                return RHM_IORES_EMPTY;
             default:
-                std::ostringstream oss;
-                oss << std::hex << std::setfill('0');
-                oss << "Magic=0x" << std::setw(8) << _hdr._magic << std::dec;
-                throw jexception(jerrno::JERR_RMGR_UNKNOWNMAGIC, oss.str(), "rmgr", "read");
+                return RHM_IORES_EMPTY;
         }
     }
 }




More information about the rhmessaging-commits mailing list