log.debug("sent");
if (log != null) log.debug("sent");
    public void isc_dsql_set_cursor_name(     isc_stmt_handle stmt_handle,                                        String cursor_name,                                        int type) throws GDSException {        isc_stmt_handle_impl stmt = (isc_stmt_handle_impl) stmt_handle;        isc_db_handle_impl db = stmt.rsr_rdb;        if (stmt_handle == null) {            throw new GDSException(isc_bad_req_handle);        }        synchronized (db) {            try {                log.debug("op_set_cursor ");                db.out.writeInt(op_set_cursor);                db.out.writeInt(stmt.rsr_id);                byte[] buffer = new byte[cursor_name.length() + 1];                System.arraycopy(cursor_name.getBytes(), 0,                                 buffer, 0, cursor_name.length());                buffer[cursor_name.length()] = (byte) 0;                db.out.writeBuffer(buffer, buffer.length);                db.out.writeInt(0);                db.out.flush();                            log.debug("sent");                receiveResponse(db);            } catch (IOException ex) {                throw new GDSException(isc_net_read_err);            }        }    }