File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ Mon Nov 20 08:12:00 GMT 2000 peter@retep.org.uk
2
+ - Encoding patch to Connection by wrobell@posexperts.com.pl
3
+
1
4
Tue Oct 17 15:35:00 BST 2000 petermount@maidstone.gov.uk
2
5
- Changed getTimestamp() again. This time Michael Stephenson's
3
6
<mstephenson@tirin.openworld.co.uk> solution looked far better
Original file line number Diff line number Diff line change 10
10
import org .postgresql .util .*;
11
11
12
12
/**
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 $
14
14
*
15
15
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
16
16
* JDBC2 versions of the Connection class.
@@ -363,8 +363,7 @@ public java.sql.ResultSet ExecSQL(String sql) throws SQLException
363
363
try
364
364
{
365
365
pg_stream .SendChar ('Q' );
366
- buf = sql .getBytes ();
367
- pg_stream .Send (sql .getBytes ());
366
+ pg_stream .Send (buf );
368
367
pg_stream .SendChar (0 );
369
368
pg_stream .flush ();
370
369
} catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments