8
0
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:
hvlad 2007-06-01 12:46:30 +00:00
parent a812d36a09
commit f31a3116ec
2 changed files with 2 additions and 2 deletions

View File

@ -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. */

View File

@ -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;