[Solar-svn] Revision 3293

pmjones at solarphp.com pmjones at solarphp.com
Thu Jul 31 16:28:20 CDT 2008


Solar_Sql_Adapter_MysqlReplicated: [CHG] In profile, note that transactions are on the master.


Modified: trunk/Solar/Sql/Adapter/MysqlReplicated.php
===================================================================
--- trunk/Solar/Sql/Adapter/MysqlReplicated.php	2008-07-31 21:18:20 UTC (rev 3292)
+++ trunk/Solar/Sql/Adapter/MysqlReplicated.php	2008-07-31 21:28:20 UTC (rev 3293)
@@ -354,7 +354,7 @@
         $this->connectMaster();
         $time = microtime(true);
         $result = $this->_pdo_master->beginTransaction();
-        $this->_addProfile($time, '__BEGIN');
+        $this->_addProfile($time, '__BEGIN_MASTER');
         return $result;
     }
     
@@ -370,7 +370,7 @@
         $this->connectMaster();
         $time = microtime(true);
         $result = $this->_pdo_master->commit();
-        $this->_addProfile($time, '__COMMIT');
+        $this->_addProfile($time, '__COMMIT_MASTER');
         return $result;
     }
     
@@ -386,7 +386,7 @@
         $this->connectMaster();
         $time = microtime(true);
         $result = $this->_pdo_master->rollBack();
-        $this->_addProfile($time, '__ROLLBACK');
+        $this->_addProfile($time, '__ROLLBACK_MASTER');
         return $result;
     }
     




More information about the Solar-svn mailing list