From a8126a9811236a8df7407f76783b0c607713b32b Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Sat, 27 Nov 2021 12:02:06 +0300 Subject: [PATCH] Make the fetch position transferred unconditionally, as suggested by Mark --- src/remote/protocol.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/remote/protocol.cpp b/src/remote/protocol.cpp index d87aa5f227..890472c45e 100644 --- a/src/remote/protocol.cpp +++ b/src/remote/protocol.cpp @@ -716,11 +716,7 @@ bool_t xdr_protocol(RemoteXdr* xdrs, PACKET* p) if (p->p_operation == op_fetch_scroll) { MAP(xdr_short, reinterpret_cast(sqldata->p_sqldata_fetch_op)); - if (sqldata->p_sqldata_fetch_op == fetch_absolute || - sqldata->p_sqldata_fetch_op == fetch_relative) - { - MAP(xdr_long, sqldata->p_sqldata_fetch_pos); - } + MAP(xdr_long, sqldata->p_sqldata_fetch_pos); } DEBUG_PRINTSIZE(xdrs, p->p_operation); return P_TRUE(xdrs, p);