| 819 | *****************************************************************************/ |
| 820 | |
| 821 | void Query_cache_block::init(size_t block_length) |
| 822 | { |
| 823 | DBUG_ENTER("Query_cache_block::init"); |
| 824 | DBUG_PRINT("qcache", ("init block: %p length: %zu", this, |
| 825 | block_length)); |
| 826 | length = block_length; |
| 827 | used = 0; |
| 828 | type = Query_cache_block::FREE; |
| 829 | n_tables = 0; |
| 830 | DBUG_VOID_RETURN; |
| 831 | } |
| 832 | |
| 833 | void Query_cache_block::destroy() |
| 834 | { |
no test coverage detected