| 167 | } |
| 168 | |
| 169 | DsqlBatch::~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 | |
| 180 | Attachment* DsqlBatch::getAttachment() const |
| 181 | { |
nothing calls this directly
no test coverage detected