[Solar-svn] Revision 3297
pmjones at solarphp.com
pmjones at solarphp.com
Thu Jul 31 17:27:44 CDT 2008
Solar_Sql_Adapter_MysqlReplicated: [FIX] Need a slave connection before we can have a master connection. No, this is not as efficient as I'd like.
Modified: trunk/Solar/Sql/Adapter/MysqlReplicated.php
===================================================================
--- trunk/Solar/Sql/Adapter/MysqlReplicated.php 2008-07-31 22:25:51 UTC (rev 3296)
+++ trunk/Solar/Sql/Adapter/MysqlReplicated.php 2008-07-31 22:27:44 UTC (rev 3297)
@@ -281,6 +281,9 @@
return;
}
+ // need a slave connection first
+ $this->connect();
+
// start profile time
$time = microtime(true);
More information about the Solar-svn
mailing list