| 869 | } |
| 870 | |
| 871 | Query_cache_result * Query_cache_block::result() |
| 872 | { |
| 873 | #ifndef DBUG_OFF |
| 874 | if (type != RESULT && type != RES_CONT && type != RES_BEG && |
| 875 | type != RES_INCOMPLETE) |
| 876 | query_cache.wreck(__LINE__, "incorrect block type"); |
| 877 | #endif |
| 878 | return (Query_cache_result *) data(); |
| 879 | } |
| 880 | |
| 881 | Query_cache_block_table * Query_cache_block::table(TABLE_COUNTER_TYPE n) |
| 882 | { |
no test coverage detected