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

Commit8304a39

Browse files
author
Barry Lind
committed
minor improvements on Dave's last checkin
1 parent01da8e9 commit8304a39

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

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

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

1313
/**
14-
* $Id: Connection.java,v 1.33 2001/10/31 20:26:01 davec Exp $
14+
* $Id: Connection.java,v 1.34 2001/11/01 01:08:36 barry 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.
@@ -110,16 +110,11 @@ protected void openConnection(String host, int port, Properties info, String dat
110110
if (info.getProperty("user") ==null)
111111
thrownewPSQLException("postgresql.con.user");
112112

113-
114-
PG_PASSWORD =info.getProperty("password");
115-
// allow a null password D.C.
116-
if (PG_PASSWORD==null)
117-
PG_PASSWORD ="";
118-
119113
this_driver =d;
120114
this_url =url;
121115
PG_DATABASE =database;
122116
PG_USER =info.getProperty("user");
117+
PG_PASSWORD =info.getProperty("password","");
123118
PG_PORT =port;
124119
PG_HOST =host;
125120
PG_STATUS =CONNECTION_BAD;

‎src/interfaces/jdbc/org/postgresql/Driver.java.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Driver implements java.sql.Driver
3333
protected static final int ERROR = 3;
3434
protected static final int FATAL = 4;
3535

36-
private static int logLevel=DEBUG;
36+
private static int logLevel=FATAL;
3737

3838
static
3939
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp