mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Fixed bug with wrongly initialized remote statement when lazy_port feature active.
It visible with TCS's test DSQL_DOMAIN_20
This commit is contained in:
parent
a812d36a09
commit
f31a3116ec
@ -2324,7 +2324,7 @@ ISC_STATUS GDS_DSQL_PREPARE(ISC_STATUS * user_status, RTR * rtr_handle, RSR * st
|
||||
if (!send_packet(rdb->rdb_port, packet, user_status))
|
||||
return error(user_status);
|
||||
|
||||
statement->rsr_flags &= ~RSR_blob;
|
||||
statement->rsr_flags &= ~(RSR_blob | RSR_defer_execute);
|
||||
|
||||
/* Set up for the response packet. */
|
||||
|
||||
|
@ -3307,7 +3307,7 @@ ISC_STATUS rem_port::prepare_statement(P_SQLST * prepareL, PACKET* sendL)
|
||||
|
||||
REMOTE_reset_statement(statement);
|
||||
|
||||
statement->rsr_flags &= ~(RSR_blob | RSR_no_batch);
|
||||
statement->rsr_flags &= ~(RSR_blob | RSR_no_batch | RSR_defer_execute);
|
||||
USHORT state = check_statement_type(statement);
|
||||
if (state & STMT_BLOB) {
|
||||
statement->rsr_flags |= RSR_blob;
|
||||
|
Loading…
Reference in New Issue
Block a user