diff --git a/src/jrd/cmp.cpp b/src/jrd/cmp.cpp index 42e6710cf2..364ff478b9 100644 --- a/src/jrd/cmp.cpp +++ b/src/jrd/cmp.cpp @@ -634,6 +634,9 @@ void CMP_verify_access(thread_db* tdbb, jrd_req* request) case obj_package_header: objType = id_package; break; + case obj_type_MAX: // CallerName() constructor + fb_assert(transaction->tra_caller_name.name.isEmpty()); + break; default: fb_assert(false); }