8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Fixed the crash reported privately by Bill Oliver.

This commit is contained in:
dimitr 2008-04-30 17:45:46 +00:00
parent 78bc58f1e8
commit 6fbb76c115

View File

@ -1041,7 +1041,7 @@ static void execute_blob(thread_db* tdbb,
} }
else else
{ {
request->req_request = 0; request->req_request = NULL;
bid* blob_id = (bid*) parameter->par_desc.dsc_address; bid* blob_id = (bid*) parameter->par_desc.dsc_address;
memset(blob_id, 0, sizeof(bid)); memset(blob_id, 0, sizeof(bid));
@ -1658,6 +1658,9 @@ static USHORT get_request_info(thread_db* tdbb,
dsql_req* request, dsql_req* request,
SSHORT buffer_length, UCHAR* buffer) SSHORT buffer_length, UCHAR* buffer)
{ {
if (!request->req_request) // DDL
return 0;
// get the info for the request from the engine // get the info for the request from the engine
try try