summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/Connection.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-08-04 19:46:56 +0000
committerBruce Momjian <bruce@momjian.us>2001-08-04 19:46:56 +0000
commiteb610fb8f1c2efe4f4dd454563598d4841a1b732 (patch)
tree63e959e9eecccd8bcbccb38a8bbad02fbaec3639 /src/interfaces/jdbc/org/postgresql/Connection.java
parent3e51868226be6a012581efa7d92a5992d3fd216d (diff)
downloadpostgresql-eb610fb8f1c2efe4f4dd454563598d4841a1b732.tar.gz
Compile fix for jdbc1.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/Connection.java')
-rw-r--r--src/interfaces/jdbc/org/postgresql/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/Connection.java b/src/interfaces/jdbc/org/postgresql/Connection.java
index 1aa7be13f1..326d660eb2 100644
--- a/src/interfaces/jdbc/org/postgresql/Connection.java
+++ b/src/interfaces/jdbc/org/postgresql/Connection.java
@@ -11,7 +11,7 @@ import org.postgresql.util.*;
import org.postgresql.core.Encoding;
/**
- * $Id: Connection.java,v 1.22 2001/08/04 19:32:04 momjian Exp $
+ * $Id: Connection.java,v 1.23 2001/08/04 19:46:56 momjian Exp $
*
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
* JDBC2 versions of the Connection class.
@@ -120,8 +120,8 @@ public abstract class Connection
this_driver = d;
this_url = url;
PG_DATABASE = database;
- PG_PASSWORD = info.getProperty("password");
- PG_USER = info.getProperty("user");
+ PG_PASSWORD = info.put("password");
+ PG_USER = info.put("user");
PG_PORT = port;
PG_HOST = host;
PG_STATUS = CONNECTION_BAD;