The world's most popular open source database
#include "mysql_priv.h"#include <myisampack.h>#include "ha_heap.h"Include dependency graph for ha_heap.cc:

Go to the source code of this file.
Defines | |
| #define | HEAP_STATS_UPDATE_THRESHOLD 10 |
Functions | |
| static handler * | heap_create_handler (TABLE_SHARE *table, MEM_ROOT *mem_root) |
| int | heap_init () |
| mysql_declare_plugin (heap) | |
Variables | |
| handlerton | heap_hton |
| static const char * | ha_heap_exts [] |
| st_mysql_storage_engine | heap_storage_engine |
| mysql_declare_plugin_end | |
| #define HEAP_STATS_UPDATE_THRESHOLD 10 |
Definition at line 77 of file ha_heap.cc.
Referenced by ha_heap::delete_row(), ha_heap::update_row(), and ha_heap::write_row().
| static handler * heap_create_handler | ( | TABLE_SHARE * | table, | |
| MEM_ROOT * | mem_root | |||
| ) | [static] |
Definition at line 41 of file ha_heap.cc.
Referenced by heap_init().
00042 { 00043 return new (mem_root) ha_heap(table); 00044 }
Here is the caller graph for this function:

| int heap_init | ( | ) |
Definition at line 31 of file ha_heap.cc.
References handlerton::create, handlerton::db_type, DB_TYPE_HEAP, handlerton::flags, heap_create_handler(), heap_hton, heap_panic(), HTON_CAN_RECREATE, handlerton::panic, SHOW_OPTION_YES, and handlerton::state.
Referenced by mysql_declare_plugin().
00032 { 00033 heap_hton.state= SHOW_OPTION_YES; 00034 heap_hton.db_type= DB_TYPE_HEAP; 00035 heap_hton.create= heap_create_handler; 00036 heap_hton.panic= heap_panic; 00037 heap_hton.flags= HTON_CAN_RECREATE; 00038 return 0; 00039 }
Here is the call graph for this function:

Here is the caller graph for this function:

| mysql_declare_plugin | ( | heap | ) |
Definition at line 700 of file ha_heap.cc.
References heap_init(), heap_storage_engine, MYSQL_STORAGE_ENGINE_PLUGIN, and NULL.
00701 { 00702 MYSQL_STORAGE_ENGINE_PLUGIN, 00703 &heap_storage_engine, 00704 "MEMORY", 00705 "MySQL AB", 00706 "Hash based, stored in memory, useful for temporary tables", 00707 heap_init, 00708 NULL, 00709 0x0100, /* 1.0 */ 00710 0 00711 }
Here is the call graph for this function:

const char* ha_heap_exts[] [static] |
Initial value:
{
NullS
}
Definition at line 57 of file ha_heap.cc.
Referenced by ha_heap::bas_ext().
Definition at line 29 of file ha_heap.cc.
Referenced by create_myisam_from_heap(), create_table_from_items(), create_tmp_table(), heap_init(), remove_duplicates(), and Item_sum_count_distinct::setup().
Definition at line 712 of file ha_heap.cc.
1.4.7

