mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 15:23:03 +01:00
Fixed the bug reported by Claudio - crash when getting plan of DDL requests
This commit is contained in:
parent
bdad4bc57d
commit
a7a7e18220
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user