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

Method checkReload

src/jrd/Routine.cpp:135–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void Routine::checkReload(thread_db* tdbb)
136{
137 if (!(flags & FLAG_RELOAD))
138 return;
139
140 if (!reload(tdbb))
141 {
142 string err;
143 err.printf("Recompile of %s \"%s\" failed",
144 getObjectType() == obj_udf ? "FUNCTION" : "PROCEDURE",
145 getName().toString().c_str());
146
147 (Arg::Gds(isc_random) << Arg::Str(err)).raise();
148 }
149}
150
151// Parse routine BLR and debug info.
152void Routine::parseBlr(thread_db* tdbb, CompilerScratch* csb, bid* blob_id, bid* blobDbg)

Callers 3

executeMethod · 0.80
executeProcedureMethod · 0.80
internalOpenMethod · 0.80

Calls 7

getNameFunction · 0.85
GdsClass · 0.85
StrClass · 0.85
printfMethod · 0.45
c_strMethod · 0.45
toStringMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected