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

Method getConfigInfo

src/jrd/IntlManager.cpp:768–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766
767
768string IntlManager::getConfigInfo(const ConfigFile::Parameter* confObj)
769{
770 if (!confObj || !confObj->sub)
771 {
772 return "";
773 }
774
775 ConfigFile::String configInfo;
776 const ConfigFile::Parameters& all = confObj->sub->getParameters();
777
778 for (FB_SIZE_T n = 0; n < all.getCount(); ++n)
779 {
780 const ConfigFile::Parameter& par = all[n];
781 const string parName = par.name.ToString();
782
783 if (parName == "filename")
784 continue;
785
786 if (configInfo.hasData())
787 configInfo.append(";");
788
789 configInfo.append(parName + "=" + par.value);
790 }
791
792 return configInfo.ToString();
793}
794
795
796bool IntlManager::registerCharSetCollation(const string& name, const PathName& filename,

Callers

nothing calls this directly

Calls 4

getCountMethod · 0.45
ToStringMethod · 0.45
hasDataMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected