#include <string_view>
#include "keycache.h"
#include "lex_string.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "sql/sql_list.h"
#include "sql/thr_malloc.h"
 
Go to the source code of this file.
◆ process_key_cache_t
      
        
          | typedef int(* process_key_cache_t) (std::string_view, KEY_CACHE *) | 
        
      
 
 
◆ create_key_cache()
      
        
          | KEY_CACHE * create_key_cache  | 
          ( | 
          std::string_view  | 
          name | ) | 
           | 
        
      
 
Create a MyISAM Multiple Key Cache. 
- Parameters
 - 
  
    | name | Cache name (case insensitive, system character set).  | 
  
   
 
 
◆ get_key_cache()
      
        
          | KEY_CACHE * get_key_cache  | 
          ( | 
          std::string_view  | 
          cache_name | ) | 
           | 
        
      
 
Resolve a MyISAM Multiple Key Cache by name. 
- Parameters
 - 
  
    | cache_name | Cache name (case insensitive, system character set). | 
  
   
- Returns
 - New key cache on success, otherwise nullptr. 
 
 
 
◆ get_or_create_key_cache()
      
        
          | KEY_CACHE * get_or_create_key_cache  | 
          ( | 
          std::string_view  | 
          name | ) | 
           | 
        
      
 
Resolve an existent MyISAM Multiple Key Cache by name, otherwise create a new one. 
- Parameters
 - 
  
    | name | Cache name (case insensitive, system character set) | 
  
   
- Returns
 - Key cache on success, otherwise nullptr. 
 
 
 
◆ process_key_caches()
◆ default_key_cache_base
◆ key_caches
◆ zero_key_cache
@nonexistent_cache.param->value_ptr() points here