mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Variables in context.
This commit is contained in:
parent
1eb3a72f7f
commit
dec3481e28
@ -3146,10 +3146,7 @@ static ISC_STATUS execute_request(dsql_req* request,
|
|||||||
UCHAR* out_msg,
|
UCHAR* out_msg,
|
||||||
bool singleton)
|
bool singleton)
|
||||||
{
|
{
|
||||||
dsql_msg* message;
|
|
||||||
UCHAR buffer[20];
|
|
||||||
ISC_STATUS s;
|
ISC_STATUS s;
|
||||||
ISC_STATUS_ARRAY local_status;
|
|
||||||
|
|
||||||
tsql* tdsql = DSQL_get_thread_data();
|
tsql* tdsql = DSQL_get_thread_data();
|
||||||
|
|
||||||
@ -3250,7 +3247,7 @@ static ISC_STATUS execute_request(dsql_req* request,
|
|||||||
|
|
||||||
// If there is no data required, just start the request
|
// If there is no data required, just start the request
|
||||||
|
|
||||||
message = (dsql_msg*) request->req_send;
|
dsql_msg* message = (dsql_msg*) request->req_send;
|
||||||
if (!message)
|
if (!message)
|
||||||
{
|
{
|
||||||
THREAD_EXIT();
|
THREAD_EXIT();
|
||||||
@ -3286,6 +3283,7 @@ static ISC_STATUS execute_request(dsql_req* request,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ISC_STATUS_ARRAY local_status;
|
||||||
// REQ_EXEC_BLOCK has no outputs so there are no out_msg
|
// REQ_EXEC_BLOCK has no outputs so there are no out_msg
|
||||||
// supplied from client side, but REQ_EXEC_BLOCK requires
|
// supplied from client side, but REQ_EXEC_BLOCK requires
|
||||||
// 2-byte message for EOS synchronization
|
// 2-byte message for EOS synchronization
|
||||||
@ -3380,6 +3378,7 @@ static ISC_STATUS execute_request(dsql_req* request,
|
|||||||
|
|
||||||
if (!(request->req_dbb->dbb_flags & DBB_v3))
|
if (!(request->req_dbb->dbb_flags & DBB_v3))
|
||||||
{
|
{
|
||||||
|
UCHAR buffer[20]; // Not used after retrieved.
|
||||||
if (request->req_type == REQ_UPDATE_CURSOR)
|
if (request->req_type == REQ_UPDATE_CURSOR)
|
||||||
{
|
{
|
||||||
GDS_DSQL_SQL_INFO_CPP( local_status,
|
GDS_DSQL_SQL_INFO_CPP( local_status,
|
||||||
|
Loading…
Reference in New Issue
Block a user