Encoding patch to Connection by wrobell@posexperts.com.pl
authorPeter Mount <peter@retep.org.uk>
Mon, 20 Nov 2000 08:15:30 +0000 (08:15 +0000)
committerPeter Mount <peter@retep.org.uk>
Mon, 20 Nov 2000 08:15:30 +0000 (08:15 +0000)
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/org/postgresql/Connection.java

index e61acd7df93b7bd3548f7fcc0a94c3937d163b77..6d99f9c23885d634aed3d10e6e27b828c812cd1d 100644 (file)
@@ -1,3 +1,6 @@
+Mon Nov 20 08:12:00 GMT 2000 peter@retep.org.uk
+       - Encoding patch to Connection by wrobell@posexperts.com.pl
+
 Tue Oct 17 15:35:00 BST 2000 petermount@maidstone.gov.uk
        - Changed getTimestamp() again. This time Michael Stephenson's
          <mstephenson@tirin.openworld.co.uk> solution looked far better
index 8b1bf8b24871145102f7f2d71ec298b3e0c57700..ad9d1adbfd66b7ce7f8bea2c718de54fc0059444 100644 (file)
@@ -363,8 +363,7 @@ public abstract class Connection
            try
                {
                    pg_stream.SendChar('Q');
-                   buf = sql.getBytes();
-                   pg_stream.Send(sql.getBytes());
+                   pg_stream.Send(buf);
                    pg_stream.SendChar(0);
                    pg_stream.flush();
                } catch (IOException e) {