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

Method ~App

examples/dbcrypt/CryptApplication.cpp:70–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 { }
69
70 ~App()
71 {
72 if (tra)
73 {
74 tra->rollback(status);
75 if (status->getState() & IStatus::STATE_ERRORS)
76 {
77 print("rollback");
78 tra->release();
79 }
80 }
81 if (att)
82 {
83 att->detach(status);
84 if (status->getState() & IStatus::STATE_ERRORS)
85 {
86 print("detach");
87 att->release();
88 }
89 }
90 if (p)
91 {
92 p->release();
93 }
94 status->dispose();
95 }
96
97 enum Action {NONE, ENC, DEC, EX_LCL, EX_RMT};
98 // Switches/actions have the following meanings:

Callers

nothing calls this directly

Calls 5

rollbackMethod · 0.45
getStateMethod · 0.45
releaseMethod · 0.45
detachMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected