| 196 | } |
| 197 | |
| 198 | void registerFunction(ThrowStatusWrapper* status, const char* name, |
| 199 | IUdrFunctionFactory* factory) |
| 200 | { |
| 201 | if (functionsMap.exist(name)) |
| 202 | { |
| 203 | static const ISC_STATUS statusVector[] = { |
| 204 | isc_arg_gds, isc_random, |
| 205 | isc_arg_string, (ISC_STATUS) "Duplicate UDR function", |
| 206 | //// TODO: isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS) name, |
| 207 | isc_arg_end |
| 208 | }; |
| 209 | |
| 210 | throw FbException(status, statusVector); |
| 211 | } |
| 212 | |
| 213 | functionsMap.put(name, factory); |
| 214 | } |
| 215 | |
| 216 | void registerProcedure(ThrowStatusWrapper* status, const char* name, |
| 217 | IUdrProcedureFactory* factory) |
nothing calls this directly
no test coverage detected