MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / execute

Method execute

src/jrd/ExtEngineManager.cpp:777–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775
776
777void ExtEngineManager::Function::execute(thread_db* tdbb, UCHAR* inMsg, UCHAR* outMsg) const
778{
779 EngineAttachmentInfo* attInfo = extManager->getEngineAttachment(tdbb, engine.get());
780 const MetaString& userName = udf->invoker ? udf->invoker->getUserName() : "";
781 ContextManager<IExternalFunction> ctxManager(tdbb, attInfo, function,
782 (udf->getName().package.isEmpty() ?
783 CallerName(obj_udf, udf->getName().identifier, userName) :
784 CallerName(obj_package_header, udf->getName().package, userName)));
785
786 EngineCheckout cout(tdbb, FB_FUNCTION, checkoutType(attInfo->engine));
787
788 FbLocalStatus status;
789 function->execute(&status, attInfo->context, inMsg, outMsg);
790 status.check();
791}
792
793
794//---------------------

Callers 2

executeMethod · 0.45
executeMethod · 0.45

Calls 15

CallerNameClass · 0.85
checkoutTypeFunction · 0.85
EVL_fieldFunction · 0.85
MOV_moveFunction · 0.85
getEngineAttachmentMethod · 0.80
getMethod · 0.45
getUserNameMethod · 0.45
isEmptyMethod · 0.45
getNameMethod · 0.45
checkMethod · 0.45
c_strMethod · 0.45
hasDataMethod · 0.45

Tested by

no test coverage detected