| 214 | } |
| 215 | |
| 216 | void registerProcedure(ThrowStatusWrapper* status, const char* name, |
| 217 | IUdrProcedureFactory* factory) |
| 218 | { |
| 219 | if (proceduresMap.exist(name)) |
| 220 | { |
| 221 | static const ISC_STATUS statusVector[] = { |
| 222 | isc_arg_gds, isc_random, |
| 223 | isc_arg_string, (ISC_STATUS) "Duplicate UDR procedure", |
| 224 | //// TODO: isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS) name, |
| 225 | isc_arg_end |
| 226 | }; |
| 227 | |
| 228 | throw FbException(status, statusVector); |
| 229 | } |
| 230 | |
| 231 | proceduresMap.put(name, factory); |
| 232 | } |
| 233 | |
| 234 | void registerTrigger(ThrowStatusWrapper* status, const char* name, |
| 235 | IUdrTriggerFactory* factory) |
nothing calls this directly
no test coverage detected