aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Cramer <davec@fastcrypt.com>2002-04-16 13:28:44 +0000
committerDave Cramer <davec@fastcrypt.com>2002-04-16 13:28:44 +0000
commit710a711ac31c533e7dd85575a55ec95a75147a13 (patch)
tree91d082b4be62085a549d9aa1814faac3b8a4c5f1 /src
parentcc592ed8eaa08e06e92c27e0ae10af2e9e3f618c (diff)
downloadpostgresql-710a711ac31c533e7dd85575a55ec95a75147a13.tar.gz
postgresql-710a711ac31c533e7dd85575a55ec95a75147a13.zip
fixed getColumns as per Panu Outinen's email. At this point have only repaired the bug, haven't made it caseInsensitive
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java b/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
index 15af39a5e0f..e819d4b9262 100644
--- a/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
+++ b/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
@@ -15,7 +15,7 @@ import org.postgresql.util.PSQLException;
/*
* This class provides information about the database as a whole.
*
- * $Id: DatabaseMetaData.java,v 1.51 2002/03/05 03:02:52 davec Exp $
+ * $Id: DatabaseMetaData.java,v 1.52 2002/04/16 13:28:44 davec Exp $
*
* <p>Many of the methods here return lists of information in ResultSets. You
* can use the normal ResultSet methods such as getString and getInt to
@@ -2146,6 +2146,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
tuple[16] = r.getBytes(5); // ordinal position
tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable
+ v.addElement(tuple);
}
r.close();