diff --git a/src/dsql/dsql.cpp b/src/dsql/dsql.cpp index d6d6cc7ea6..ecf99f4348 100644 --- a/src/dsql/dsql.cpp +++ b/src/dsql/dsql.cpp @@ -1541,6 +1541,9 @@ static USHORT get_plan_info(thread_db* tdbb, SCHAR* explain_ptr = explain_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 try