Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit eb610fb

Browse files
committed
Compile fix for jdbc1.
1 parent 3e51868 commit eb610fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/jdbc/org/postgresql/Connection.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.postgresql.core.Encoding;
1212

1313
/**
14-
* $Id: Connection.java,v 1.22 2001/08/04 19:32:04 momjian Exp $
14+
* $Id: Connection.java,v 1.23 2001/08/04 19:46:56 momjian Exp $
1515
*
1616
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
1717
* JDBC2 versions of the Connection class.
@@ -120,8 +120,8 @@ protected void openConnection(String host, int port, Properties info, String dat
120120
this_driver = d;
121121
this_url = url;
122122
PG_DATABASE = database;
123-
PG_PASSWORD = info.getProperty("password");
124-
PG_USER = info.getProperty("user");
123+
PG_PASSWORD = info.put("password");
124+
PG_USER = info.put("user");
125125
PG_PORT = port;
126126
PG_HOST = host;
127127
PG_STATUS = CONNECTION_BAD;

0 commit comments

Comments
 (0)