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

Function VAL_service

src/jrd/validation.cpp:783–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781
782
783int VAL_service(Firebird::UtilSvc* svc)
784{
785 svc->getStatusAccessor().init();
786
787 int exit_code = FB_SUCCESS;
788
789 try
790 {
791 exit_code = validate(svc);
792 }
793 catch (const Exception& ex)
794 {
795 FbLocalStatus status;
796 ex.stuffException(&status);
797 svc->getStatusAccessor().setServiceStatus(status->getErrors());
798 exit_code = FB_FAILURE;
799 }
800
801 svc->started();
802
803 return exit_code;
804}
805
806
807namespace Jrd

Callers

nothing calls this directly

Calls 7

validateFunction · 0.70
initMethod · 0.45
getStatusAccessorMethod · 0.45
stuffExceptionMethod · 0.45
setServiceStatusMethod · 0.45
getErrorsMethod · 0.45
startedMethod · 0.45

Tested by

no test coverage detected