MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~UserManagement

Method ~UserManagement

src/jrd/UserManagement.cpp:267–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267UserManagement::~UserManagement()
268{
269 for (ULONG i = 0; i < commands.getCount(); ++i)
270 {
271 delete commands[i];
272 }
273 commands.clear();
274
275 for (unsigned i = 0; i < managers.getCount(); ++i)
276 {
277 IManagement* manager = managers[i].second;
278 if (manager)
279 {
280 LocalStatus status;
281 CheckStatusWrapper statusWrapper(&status);
282
283 ChangeCharset cc(att);
284 manager->rollback(&statusWrapper);
285 PluginManagerInterfacePtr()->releasePlugin(manager);
286 managers[i].second = NULL;
287
288 /***
289 if (status.getState() & IStatus::STATE_ERRORS)
290 status_exception::raise(&status);
291 ***/
292 }
293 }
294}
295
296void UserManagement::commit()
297{

Callers

nothing calls this directly

Calls 5

getCountMethod · 0.45
clearMethod · 0.45
rollbackMethod · 0.45
releasePluginMethod · 0.45

Tested by

no test coverage detected