From: Chuck Hagenbuch Date: Mon, 24 Jan 2011 04:03:51 +0000 (-0500) Subject: Make sure to catch any exceptions thrown trying to rollback the transaction. Still... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d2e57b66886e675e493446b144a4e813ec99d35d;p=horde.git Make sure to catch any exceptions thrown trying to rollback the transaction. Still trying to trace down a "Exception thrown without a stack frame in Unknown on line 0" --- diff --git a/framework/SessionHandler/lib/Horde/SessionHandler/Storage/Sql.php b/framework/SessionHandler/lib/Horde/SessionHandler/Storage/Sql.php index 281cb3300..7209d7f44 100644 --- a/framework/SessionHandler/lib/Horde/SessionHandler/Storage/Sql.php +++ b/framework/SessionHandler/lib/Horde/SessionHandler/Storage/Sql.php @@ -137,7 +137,10 @@ class Horde_SessionHandler_Storage_Sql extends Horde_SessionHandler_Storage $this->_db->update($query, $values); $this->_db->commitDbTransaction(); } catch (Horde_Db_Exception $e) { - $this->_db->rollbackDbTransaction(); + try { + $this->_db->rollbackDbTransaction(); + } catch (Horde_Db_Exception $e) { + } return false; } @@ -202,5 +205,4 @@ class Horde_SessionHandler_Storage_Sql extends Horde_SessionHandler_Storage return array(); } } - }