| 253 | } |
| 254 | |
| 255 | uint32_t BTreeDatabase::indexBlockCount() { |
| 256 | ReadLocker readLocker(m_lock); |
| 257 | checkIfOpen("indexBlockCount", true); |
| 258 | // Indexes are simply one index per block |
| 259 | return m_impl.indexCount(); |
| 260 | } |
| 261 | |
| 262 | uint32_t BTreeDatabase::leafBlockCount() { |
| 263 | WriteLocker writeLocker(m_lock); |