[Solar-svn] Revision 3292
pmjones at solarphp.com
pmjones at solarphp.com
Thu Jul 31 16:18:21 CDT 2008
Solar_Sql_Adapter_MysqlReplicated: [FIX] Select on the slave, not the master.
Modified: trunk/Solar/Sql/Adapter/MysqlReplicated.php
===================================================================
--- trunk/Solar/Sql/Adapter/MysqlReplicated.php 2008-07-31 21:03:59 UTC (rev 3291)
+++ trunk/Solar/Sql/Adapter/MysqlReplicated.php 2008-07-31 21:18:20 UTC (rev 3292)
@@ -314,7 +314,7 @@
$this->connect();
$key = $this->_dsn_key;
$config = $this->_config['slaves'][$key];
- $prep = $this->_pdo_master->prepare($stmt);
+ $prep = $this->_pdo->prepare($stmt);
} else {
// master
$this->connectMaster();
More information about the Solar-svn
mailing list