| 110 | } |
| 111 | |
| 112 | void 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 | |
| 135 | void Routine::checkReload(thread_db* tdbb) |
| 136 | { |
no outgoing calls
no test coverage detected