diff options
author | abs <abs@pkgsrc.org> | 2004-06-03 10:23:19 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-06-03 10:23:19 +0000 |
commit | d521f9a4bacfb00569acaf3185ea980615a8bde4 (patch) | |
tree | 43db5102962ce98a4fcc5860a1e26c5a4a1a6a19 /databases/jdbc-postgresql74/patches/patch-aa | |
parent | bf92b555f89f8b2ffab442422008cee4bbe903a6 (diff) | |
download | pkgsrc-d521f9a4bacfb00569acaf3185ea980615a8bde4.tar.gz |
Import jdbc-postgresql74, JDBC driver for postgresql 7.4.x
Has local patch to (incompletely) work around an issue with the jdbc driver
erroneously leaving ';' on the end of tablenames resulting in it generating
SQL statments of the form "SELECT * FROM tablename; WHERE ..."
Diffstat (limited to 'databases/jdbc-postgresql74/patches/patch-aa')
-rw-r--r-- | databases/jdbc-postgresql74/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/jdbc-postgresql74/patches/patch-aa b/databases/jdbc-postgresql74/patches/patch-aa new file mode 100644 index 00000000000..436d5d12978 --- /dev/null +++ b/databases/jdbc-postgresql74/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/06/03 10:23:19 abs Exp $ + +--- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java.orig 2004-05-21 12:54:29.000000000 +0100 ++++ org/postgresql/jdbc2/AbstractJdbc2ResultSet.java +@@ -1448,7 +1450,7 @@ public abstract class AbstractJdbc2Resul + { + if (name.toLowerCase().equals("from")) + { +- tableName = st.nextToken(); ++ tableName = st.nextToken().replaceAll(";", ""); + tableFound = true; + } + } |