8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

Make the fetch position transferred unconditionally, as suggested by Mark

This commit is contained in:
Dmitry Yemanov 2021-11-27 12:02:06 +03:00
parent 52909c687d
commit a8126a9811

View File

@ -716,11 +716,7 @@ bool_t xdr_protocol(RemoteXdr* xdrs, PACKET* p)
if (p->p_operation == op_fetch_scroll)
{
MAP(xdr_short, reinterpret_cast<SSHORT&>(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);