| 484 | } |
| 485 | |
| 486 | void Database::startTipCache(thread_db* tdbb) |
| 487 | { |
| 488 | fb_assert(!dbb_tip_cache); |
| 489 | |
| 490 | TipCache* cache = FB_NEW_POOL(*dbb_permanent) TipCache(this); |
| 491 | try |
| 492 | { |
| 493 | cache->initializeTpc(tdbb); |
| 494 | } |
| 495 | catch(const Exception&) |
| 496 | { |
| 497 | cache->finalizeTpc(tdbb); |
| 498 | delete cache; |
| 499 | throw; |
| 500 | } |
| 501 | |
| 502 | dbb_tip_cache = cache; |
| 503 | } |
| 504 | |
| 505 | // Methods encapsulating operations with vectors of known pages |
| 506 |
no test coverage detected