List:Commits« Previous MessageNext Message »
From:stefan Date:December 15 2005 11:10am
Subject:svn commit - mysqldoc@docsrva: r566 - in trunk: refman-4.1 refman-5.0 refman-5.1
View as plain text  
Author: shinz
Date: 2005-12-15 12:10:18 +0100 (Thu, 15 Dec 2005)
New Revision: 566

Log:
Fixed two errors in program listings, as reported by Tim

Modified:
   trunk/refman-4.1/connector-j.xml
   trunk/refman-5.0/connector-j.xml
   trunk/refman-5.1/connector-j.xml

Modified: trunk/refman-4.1/connector-j.xml
===================================================================
--- trunk/refman-4.1/connector-j.xml	2005-12-15 09:59:13 UTC (rev 565)
+++ trunk/refman-4.1/connector-j.xml	2005-12-15 11:10:18 UTC (rev 566)
@@ -453,7 +453,7 @@
     // Registers the second parameter as output
     //
 
-    cStmt.registerOutParameter(2);
+    cStmt.registerOutParameter(2, Types.INTEGER);
 
     //
     // Registers the second parameter as output, and
@@ -590,7 +590,7 @@
     // name-based retrieval
     //
 
-    int outputValue = cStmt.getInt(1); // index-based
+    int outputValue = cStmt.getInt(2); // index-based
 
     outputValue = cStmt.getInt("inOutParam"); // name-based
 

Modified: trunk/refman-5.0/connector-j.xml
===================================================================
--- trunk/refman-5.0/connector-j.xml	2005-12-15 09:59:13 UTC (rev 565)
+++ trunk/refman-5.0/connector-j.xml	2005-12-15 11:10:18 UTC (rev 566)
@@ -453,7 +453,7 @@
     // Registers the second parameter as output
     //
 
-    cStmt.registerOutParameter(2);
+    cStmt.registerOutParameter(2, Types.INTEGER);
 
     //
     // Registers the second parameter as output, and
@@ -590,7 +590,7 @@
     // name-based retrieval
     //
 
-    int outputValue = cStmt.getInt(1); // index-based
+    int outputValue = cStmt.getInt(2); // index-based
 
     outputValue = cStmt.getInt("inOutParam"); // name-based
 

Modified: trunk/refman-5.1/connector-j.xml
===================================================================
--- trunk/refman-5.1/connector-j.xml	2005-12-15 09:59:13 UTC (rev 565)
+++ trunk/refman-5.1/connector-j.xml	2005-12-15 11:10:18 UTC (rev 566)
@@ -453,7 +453,7 @@
     // Registers the second parameter as output
     //
 
-    cStmt.registerOutParameter(2);
+    cStmt.registerOutParameter(2, Types.INTEGER);
 
     //
     // Registers the second parameter as output, and
@@ -590,7 +590,7 @@
     // name-based retrieval
     //
 
-    int outputValue = cStmt.getInt(1); // index-based
+    int outputValue = cStmt.getInt(2); // index-based
 
     outputValue = cStmt.getInt("inOutParam"); // name-based
 

Thread
svn commit - mysqldoc@docsrva: r566 - in trunk: refman-4.1 refman-5.0 refman-5.1stefan15 Dec