|
From: Roman R. <rro...@us...> - 2003-07-02 21:26:41
|
Update of /cvsroot/firebird/client-java/src/main/org/firebirdsql/jgds
In directory sc8-pr-cvs1:/tmp/cvs-serv8509/jgds
Modified Files:
GDS_Impl.java
Log Message:
added blob seek modes
Index: GDS_Impl.java
===================================================================
RCS file: /cvsroot/firebird/client-java/src/main/org/firebirdsql/jgds/GDS_Impl.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -U3 -r1.37 -r1.38
--- GDS_Impl.java 25 Jun 2003 00:01:10 -0000 1.37
+++ GDS_Impl.java 2 Jul 2003 21:26:38 -0000 1.38
@@ -356,7 +356,7 @@
}
}
- public void isc_seek_blob(isc_blob_handle handle, int position) throws GDSException {
+ public void isc_seek_blob(isc_blob_handle handle, int position, int seekMode) throws GDSException {
boolean debug = log != null && log.isDebugEnabled();
isc_blob_handle_impl blob = (isc_blob_handle_impl) handle;
isc_db_handle_impl db = blob.getDb();
@@ -365,7 +365,7 @@
if (debug) log.debug("op_info_blob ");
db.out.writeInt(op_seek_blob);
db.out.writeInt(blob.getRbl_id());
- db.out.writeInt(0);
+ db.out.writeInt(seekMode);
db.out.writeInt(position);
db.out.flush();
if (debug) log.debug("sent");
|