[Cs-webapplibs-commits] SF.net SVN: cs-webapplibs:[164] trunk/0.3/cs_webdbupgrade.class.php
Status: Beta
Brought to you by:
crazedsanity
From: <cra...@us...> - 2010-06-15 02:07:45
|
Revision: 164 http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=164&view=rev Author: crazedsanity Date: 2010-06-15 02:07:39 +0000 (Tue, 15 Jun 2010) Log Message: ----------- Remove suspended logging, as the logger should be using a forcibly different connection (thus not subject to any transaction). Modified Paths: -------------- trunk/0.3/cs_webdbupgrade.class.php Modified: trunk/0.3/cs_webdbupgrade.class.php =================================================================== --- trunk/0.3/cs_webdbupgrade.class.php 2010-06-09 01:25:09 UTC (rev 163) +++ trunk/0.3/cs_webdbupgrade.class.php 2010-06-15 02:07:39 UTC (rev 164) @@ -320,7 +320,6 @@ //========================================================================= private function perform_upgrade() { - $this->logsObj->suspendLogging=true; //make sure there's not already a lockfile. if($this->upgrade_in_progress()) { //ew. Can't upgrade. @@ -393,12 +392,9 @@ $this->error_handler(__METHOD__ .": transaction status=(". $transactionStatus ."), upgrade aborted:::". $e->getMessage()); $this->db->rollbackTrans(); } - $this->logsObj->suspendLogging=false; $this->do_log("Upgrade process complete", 'end'); } } - $this->logsObj->suspendLogging=false; - $logsHandled = $this->logsObj->handle_suspended_logs(); }//end perform_upgrade() //========================================================================= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |