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

Commit08ea624

Browse files
author
Peter Mount
committed
Encoding patch to Connection by wrobell@posexperts.com.pl
1 parenta221d95 commit08ea624

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/interfaces/jdbc/CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Mon Nov 20 08:12:00 GMT 2000 peter@retep.org.uk
2+
- Encoding patch to Connection by wrobell@posexperts.com.pl
3+
14
Tue Oct 17 15:35:00 BST 2000 petermount@maidstone.gov.uk
25
- Changed getTimestamp() again. This time Michael Stephenson's
36
<mstephenson@tirin.openworld.co.uk> solution looked far better

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
importorg.postgresql.util.*;
1111

1212
/**
13-
* $Id: Connection.java,v 1.9 2000/10/12 08:55:24 peter Exp $
13+
* $Id: Connection.java,v 1.10 2000/11/20 08:15:30 peter Exp $
1414
*
1515
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
1616
* JDBC2 versions of the Connection class.
@@ -363,8 +363,7 @@ public java.sql.ResultSet ExecSQL(String sql) throws SQLException
363363
try
364364
{
365365
pg_stream.SendChar('Q');
366-
buf =sql.getBytes();
367-
pg_stream.Send(sql.getBytes());
366+
pg_stream.Send(buf);
368367
pg_stream.SendChar(0);
369368
pg_stream.flush();
370369
}catch (IOExceptione) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp