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

Method getPlugin

src/yvalve/PluginManager.cpp:1009–1030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007 }
1008
1009 IPluginBase* PluginSet::getPlugin(CheckStatusWrapper* status)
1010 {
1011 try
1012 {
1013 while (currentPlugin.hasData())
1014 {
1015 IPluginBase* p = currentPlugin->factory(firebirdConf);
1016 if (p)
1017 return p;
1018
1019 next(status);
1020 if (status->getState() & Firebird::IStatus::STATE_ERRORS)
1021 break;
1022 }
1023 }
1024 catch (const Firebird::Exception& ex)
1025 {
1026 ex.stuffException(status);
1027 }
1028
1029 return NULL;
1030 }
1031
1032 class BuiltinRegister
1033 {

Callers 3

ConfiguredPluginMethod · 0.45
factoryMethod · 0.45
destroyMethod · 0.45

Calls 5

factoryMethod · 0.80
nextFunction · 0.50
hasDataMethod · 0.45
getStateMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected