mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed CORE-1460.
This commit is contained in:
parent
addf570e53
commit
6b8093a771
@ -1011,6 +1011,12 @@ static void aux_request( rem_port* port, P_REQ * request, PACKET* send)
|
||||
port->port_status_vector = status_vector;
|
||||
success(status_vector);
|
||||
|
||||
// This buffer is used by INET and WNET transports
|
||||
// to return the server identification string
|
||||
UCHAR buffer[BUFFER_TINY];
|
||||
const CSTRING save_string = send->p_resp.p_resp_data;
|
||||
send->p_resp.p_resp_data.cstr_address = buffer;
|
||||
|
||||
rem_port* aux_port = port->request(send);
|
||||
RDB rdb = port->port_context;
|
||||
if (bad_db(status_vector, rdb))
|
||||
@ -1026,6 +1032,7 @@ static void aux_request( rem_port* port, P_REQ * request, PACKET* send)
|
||||
/* restore the port status vector */
|
||||
|
||||
port->port_status_vector = save_status;
|
||||
send->p_resp.p_resp_data = save_string;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1037,6 +1044,7 @@ static void aux_request( rem_port* port, P_REQ * request, PACKET* send)
|
||||
/* restore the port status vector */
|
||||
|
||||
port->port_status_vector = save_status;
|
||||
send->p_resp.p_resp_data = save_string;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user