List:Commits« Previous MessageNext Message »
From:mmatthews Date:September 7 2007 1:48pm
Subject:Connector/J commit: r6572 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/jdbc2/optional
View as plain text  
Modified:
   branches/branch_5_0/connector-j/CHANGES
   branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java
Log:
- Fixed Bug#30892 setObject(int, Object, int, int) delegate in
      PreparedStatmentWrapper delegates to wrong method.

Modified: branches/branch_5_0/connector-j/CHANGES
===================================================================
--- branches/branch_5_0/connector-j/CHANGES	2007-09-06 19:28:31 UTC (rev 6571)
+++ branches/branch_5_0/connector-j/CHANGES	2007-09-07 13:48:19 UTC (rev 6572)
@@ -61,6 +61,9 @@
       lighter weight), and when using a ReplicationConnection or a LoadBalancedConnection, 
       will send the ping across all active connections.
       
+    - Fixed Bug#30892 setObject(int, Object, int, int) delegate in
+      PreparedStatmentWrapper delegates to wrong method.
+      
 07-19-07 - Version 5.0.7
 
     - Setting the configuration parameter "useCursorFetch" to "true" for 

Modified: branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java
===================================================================
--- branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java	2007-09-06 19:28:31 UTC (rev 6571)
+++ branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java	2007-09-07 13:48:19 UTC (rev 6572)
@@ -507,7 +507,7 @@
 		try {
 			if (this.wrappedStmt != null) {
 				((PreparedStatement) this.wrappedStmt).setObject(
-						parameterIndex, x, scale);
+						parameterIndex, x, targetSqlType, scale);
 			} else {
 				throw SQLError.createSQLException(
 						"No operations allowed after statement closed",

Thread
Connector/J commit: r6572 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/jdbc2/optionalmmatthews7 Sep