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

Method ~DsqlBatch

src/dsql/DsqlBatch.cpp:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169DsqlBatch::~DsqlBatch()
170{
171 if (m_batch)
172 m_batch->resetHandle();
173 if (m_dsqlRequest)
174 m_dsqlRequest->req_batch = nullptr;
175
176 if (const auto att = m_dsqlRequest->req_dbb->dbb_attachment)
177 att->deregisterBatch(this);
178}
179
180Attachment* DsqlBatch::getAttachment() const
181{

Callers

nothing calls this directly

Calls 2

deregisterBatchMethod · 0.80
resetHandleMethod · 0.45

Tested by

no test coverage detected