Skip to content
Snippets Groups Projects
Commit eb610fb8 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Compile fix for jdbc1.

parent 3e518682
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ import org.postgresql.util.*; ...@@ -11,7 +11,7 @@ import org.postgresql.util.*;
import org.postgresql.core.Encoding; 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 * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
* JDBC2 versions of the Connection class. * JDBC2 versions of the Connection class.
...@@ -120,8 +120,8 @@ public abstract class Connection ...@@ -120,8 +120,8 @@ public abstract class Connection
this_driver = d; this_driver = d;
this_url = url; this_url = url;
PG_DATABASE = database; PG_DATABASE = database;
PG_PASSWORD = info.getProperty("password"); PG_PASSWORD = info.put("password");
PG_USER = info.getProperty("user"); PG_USER = info.put("user");
PG_PORT = port; PG_PORT = port;
PG_HOST = host; PG_HOST = host;
PG_STATUS = CONNECTION_BAD; PG_STATUS = CONNECTION_BAD;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment