Modified:
branches/branch_5_1/connector-j/src/com/mysql/jdbc/ReplicationConnection.java
Log:
We shouldn't use a registering driver here, it will foul up further connections to the replication URL.
Modified: branches/branch_5_1/connector-j/src/com/mysql/jdbc/ReplicationConnection.java
===================================================================
--- branches/branch_5_1/connector-j/src/com/mysql/jdbc/ReplicationConnection.java 2007-10-06 00:39:17 UTC (rev 6628)
+++ branches/branch_5_1/connector-j/src/com/mysql/jdbc/ReplicationConnection.java 2007-10-08 14:56:30 UTC (rev 6629)
@@ -52,7 +52,7 @@
public ReplicationConnection(Properties masterProperties,
Properties slaveProperties) throws SQLException {
- Driver driver = new Driver();
+ NonRegisteringDriver driver = new NonRegisteringDriver();
StringBuffer masterUrl = new StringBuffer("jdbc:mysql://");
StringBuffer slaveUrl = new StringBuffer("jdbc:mysql://");
| Thread |
|---|
| • Connector/J commit: r6629 - branches/branch_5_1/connector-j/src/com/mysql/jdbc | mmatthews | 8 Oct |