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

Fixed the bug reported by Claudio - crash when getting plan of DDL requests

This commit is contained in:
asfernandes 2008-04-16 15:28:16 +00:00
parent bdad4bc57d
commit a7a7e18220

View File

@ -1541,6 +1541,9 @@ static USHORT get_plan_info(thread_db* tdbb,
SCHAR* explain_ptr = explain_buffer; SCHAR* explain_ptr = explain_buffer;
SCHAR* buffer_ptr = *out_buffer; SCHAR* buffer_ptr = *out_buffer;
if (!request->req_request) // DDL
return 0;
// get the access path info for the underlying request from the engine // get the access path info for the underlying request from the engine
try try