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

Braces per @asfernandes request.

This commit is contained in:
Vlad Khorsun 2024-11-23 21:32:31 +02:00
parent f5032b5557
commit d03473ea67
2 changed files with 6 additions and 2 deletions

View File

@ -9363,8 +9363,10 @@ static void release_blob( Rbl* blob)
Rdb* rdb = blob->rbl_rdb;
if (blob->isCached())
{
// Assume buffer was not resized while blob was cached
rdb->decBlobCache(blob->rbl_buffer_length);
}
else
rdb->rdb_port->releaseObject(blob->rbl_id);

View File

@ -3513,9 +3513,10 @@ ISC_STATUS rem_port::execute_immediate(P_OP op, P_SQLST * exnow, PACKET* sendL)
this->port_statement->rsr_format = this->port_statement->rsr_select_format;
if (out_msg && exnow->p_sqlst_inline_blob_size)
{
sendInlineBlobs(sendL, transaction, out_msg, port_statement->rsr_select_format,
exnow->p_sqlst_inline_blob_size);
}
sendL->p_operation = op_sql_response;
sendL->p_sqldata.p_sqldata_messages =
((status_vector.getState() & IStatus::STATE_ERRORS) || !out_msg) ? 0 : 1;
@ -3958,9 +3959,10 @@ ISC_STATUS rem_port::execute_statement(P_OP op, P_SQLDATA* sqldata, PACKET* send
this->port_statement->rsr_format = this->port_statement->rsr_select_format;
if (out_msg && statement->rsr_inline_blob_size)
{
sendInlineBlobs(sendL, transaction, out_msg, port_statement->rsr_select_format,
statement->rsr_inline_blob_size);
}
sendL->p_operation = op_sql_response;
sendL->p_sqldata.p_sqldata_messages =
((status_vector.getState() & IStatus::STATE_ERRORS) || !out_msg) ? 0 : 1;