| 256 | |
| 257 | |
| 258 | void WorkerAttachment::shutdownDbb(Database* dbb) |
| 259 | { |
| 260 | if (Config::getServerMode() != MODE_SUPER) |
| 261 | return; |
| 262 | |
| 263 | WorkerAttachment* item = NULL; |
| 264 | |
| 265 | { |
| 266 | MutexLockGuard guard(m_mapMutex, FB_FUNCTION); |
| 267 | |
| 268 | if (!m_map->get(dbb->dbb_filename, item)) |
| 269 | return; |
| 270 | } |
| 271 | |
| 272 | item->clear(false); |
| 273 | item->waitForWorkers(); |
| 274 | } |
| 275 | |
| 276 | StableAttachmentPart* WorkerAttachment::getAttachment(FbStatusVector* status, Database* dbb) |
| 277 | { |
nothing calls this directly
no test coverage detected