summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
diff options
context:
space:
mode:
authorMarc G. Fournier1998-02-02 13:17:01 +0000
committerMarc G. Fournier1998-02-02 13:17:01 +0000
commit4e9dd952966b600951f05ab2913b5b97936d42ba (patch)
tree9f0fada5717856c244f94f19f9a3829a4c21270e /src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
parent67c92f423aae5bb2500b7dffb0fc2a4267d2e546 (diff)
From: Peter T Mount <[email protected]>
[This is a repost - it supercedes the previous one. It fixes the patch so it doesn't bread aix port, plus there's a file missing out of the original post because difforig doesn't pick up new files. It's now attached. peter] This patch brings the JDBC driver up to the current protocol spec. Basically, the backend now tells the driver what authentication scheme to use. The patch also fixes a performance problem with large objects. In the buffer manager, each fastpath call was sending multiple Notifications to the backend (sometimes more data in the form of notifications were being sent than blob data!).
Diffstat (limited to 'src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java')
-rw-r--r--src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java b/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
index 9b800073c22..32c62d761cd 100644
--- a/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
+++ b/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
@@ -94,11 +94,11 @@ public class FastpathArg
{
if(type) {
// argument is an integer
- s.SendIntegerReverse(4,4); // size of an integer
- s.SendIntegerReverse(value,4); // integer value of argument
+ s.SendInteger(4,4); // size of an integer
+ s.SendInteger(value,4); // integer value of argument
} else {
// argument is a byte array
- s.SendIntegerReverse(bytes.length,4); // size of array
+ s.SendInteger(bytes.length,4); // size of array
s.Send(bytes);
}
}