| 995 | } |
| 996 | |
| 997 | ULONG DsqlBatch::DataCache::getSize() const |
| 998 | { |
| 999 | if (!m_cacheCapacity) |
| 1000 | return 0; |
| 1001 | |
| 1002 | fb_assert((MAX_ULONG - 1) - m_used > m_cache.getCount()); |
| 1003 | return m_used + m_cache.getCount(); |
| 1004 | } |
| 1005 | |
| 1006 | ULONG DsqlBatch::DataCache::getCapacity() const |
| 1007 | { |
no test coverage detected