[libpostgresql-jdbc-java] 02/08: Error message has the wrong index into the paramTypes array.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:19:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to tag REL8_0_320
in repository libpostgresql-jdbc-java.
commit b82af5a25621fbba003eb3d26cda2e94ae98bdeb
Author: Kris Jurka <books at ejurka.com>
Date: Wed Jun 13 07:25:15 2007 +0000
Error message has the wrong index into the paramTypes array.
Nathan Keynes
---
org/postgresql/core/v3/SimpleParameterList.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org/postgresql/core/v3/SimpleParameterList.java b/org/postgresql/core/v3/SimpleParameterList.java
index ac2399b..3e2bcc8 100644
--- a/org/postgresql/core/v3/SimpleParameterList.java
+++ b/org/postgresql/core/v3/SimpleParameterList.java
@@ -4,7 +4,7 @@
* Copyright (c) 2004, Open Cloud Limited.
*
* IDENTIFICATION
-* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.7 2005/01/27 22:50:14 oliver Exp $
+* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.8 2005/02/01 07:27:54 jurka Exp $
*
*-------------------------------------------------------------------------
*/
@@ -143,7 +143,7 @@ class SimpleParameterList implements V3ParameterList {
if (paramTypes[index-1] == Oid.INVALID) {
paramTypes[index-1] = oid;
} else if (paramTypes[index-1] != oid) {
- throw new IllegalArgumentException("Can't change resolved type for param: " + index + " from " + paramTypes[index] + " to " + oid);
+ throw new IllegalArgumentException("Can't change resolved type for param: " + index + " from " + paramTypes[index-1] + " to " + oid);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git
More information about the pkg-java-commits
mailing list