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

Commit01cc344

Browse files
committed
Change the line:
return ((c == 't') || (c == 'T'));int the getBoolean function on line 184:ish to: return ((c == 't') || (c == 'T') (c == '1'));Hunter Hillegas
1 parent9cdf723 commit01cc344

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public boolean getBoolean(int columnIndex) throws SQLException
190190
if (s !=null)
191191
{
192192
intc =s.charAt(0);
193-
return ((c =='t') || (c =='T'));
193+
return ((c =='t') || (c =='T') || (c =='1'));
194194
}
195195
returnfalse;// SQL NULL
196196
}

‎src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public boolean getBoolean(int columnIndex) throws SQLException
198198
if (s !=null)
199199
{
200200
intc =s.charAt(0);
201-
return ((c =='t') || (c =='T'));
201+
return ((c =='t') || (c =='T') || (c =='1'));
202202
}
203203
returnfalse;// SQL NULL
204204
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp