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

Method setStatement

src/jrd/Routine.cpp:112–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void Routine::setStatement(Statement* value)
113{
114 statement = value;
115
116 if (statement)
117 {
118 switch (getObjectType())
119 {
120 case obj_procedure:
121 statement->procedure = static_cast<jrd_prc*>(this);
122 break;
123
124 case obj_udf:
125 statement->function = static_cast<Function*>(this);
126 break;
127
128 default:
129 fb_assert(false);
130 break;
131 }
132 }
133}
134
135void Routine::checkReload(thread_db* tdbb)
136{

Callers 4

prepareRequestFunction · 0.45
makeSubRoutinesFunction · 0.45
makeFunctionMethod · 0.45
makeProcedureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected