Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb5b85a

Browse files
committed
I think you replaced too many things with put(...
Here is a context diff from latest cvsAnd I see why you couldn't apply the last diff, the setCatalog diff hasbeen backed out, that was causing the compile problem in the firstplace.This following one needs to be applied to allow the current cvs tocompileDave Cramer
1 parent1b2d57d commitfb5b85a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
importorg.postgresql.core.Encoding;
1212

1313
/**
14-
* $Id: Connection.java,v 1.23 2001/08/04 19:46:56 momjian Exp $
14+
* $Id: Connection.java,v 1.24 2001/08/07 17:45:29 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.put("password");
124-
PG_USER =info.put("user");
123+
PG_PASSWORD =info.getProperty("password");
124+
PG_USER =info.getProperty("user");
125125
PG_PORT =port;
126126
PG_HOST =host;
127127
PG_STATUS =CONNECTION_BAD;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp