Loading innobase/buf/buf0buf.c +1 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,7 @@ buf_pool_init( } } buf_pool->page_hash = hash0_create(2 * max_size); buf_pool->page_hash = hash_create(2 * max_size); buf_pool->n_pend_reads = 0; Loading innobase/dict/dict0dict.c +3 −3 Original line number Diff line number Diff line Loading @@ -708,13 +708,13 @@ dict_init(void) mutex_create(&(dict_sys->mutex)); mutex_set_level(&(dict_sys->mutex), SYNC_DICT); dict_sys->table_hash = hash0_create(buf_pool_get_max_size() / dict_sys->table_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_TABLE_HASH * UNIV_WORD_SIZE)); dict_sys->table_id_hash = hash0_create(buf_pool_get_max_size() / dict_sys->table_id_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_TABLE_HASH * UNIV_WORD_SIZE)); dict_sys->col_hash = hash0_create(buf_pool_get_max_size() / dict_sys->col_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_COL_HASH * UNIV_WORD_SIZE)); dict_sys->size = 0; Loading innobase/fil/fil0fil.c +2 −2 Original line number Diff line number Diff line Loading @@ -1294,8 +1294,8 @@ fil_system_create( mutex_set_level(&(system->mutex), SYNC_ANY_LATCH); system->spaces = hash0_create(hash_size); system->name_hash = hash0_create(hash_size); system->spaces = hash_create(hash_size); system->name_hash = hash_create(hash_size); UT_LIST_INIT(system->LRU); Loading innobase/ha/ha0ha.c +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ ha_create( hash_table_t* table; ulint i; table = hash0_create(n); table = hash_create(n); if (in_btr_search) { table->adaptive = TRUE; Loading innobase/ha/hash0hash.c +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ Creates a hash table with >= n array cells. The actual number of cells is chosen to be a prime number slightly bigger than n. */ hash_table_t* hash0_create( hash_create( /*========*/ /* out, own: created table */ ulint n) /* in: number of array cells */ Loading Loading
innobase/buf/buf0buf.c +1 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,7 @@ buf_pool_init( } } buf_pool->page_hash = hash0_create(2 * max_size); buf_pool->page_hash = hash_create(2 * max_size); buf_pool->n_pend_reads = 0; Loading
innobase/dict/dict0dict.c +3 −3 Original line number Diff line number Diff line Loading @@ -708,13 +708,13 @@ dict_init(void) mutex_create(&(dict_sys->mutex)); mutex_set_level(&(dict_sys->mutex), SYNC_DICT); dict_sys->table_hash = hash0_create(buf_pool_get_max_size() / dict_sys->table_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_TABLE_HASH * UNIV_WORD_SIZE)); dict_sys->table_id_hash = hash0_create(buf_pool_get_max_size() / dict_sys->table_id_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_TABLE_HASH * UNIV_WORD_SIZE)); dict_sys->col_hash = hash0_create(buf_pool_get_max_size() / dict_sys->col_hash = hash_create(buf_pool_get_max_size() / (DICT_POOL_PER_COL_HASH * UNIV_WORD_SIZE)); dict_sys->size = 0; Loading
innobase/fil/fil0fil.c +2 −2 Original line number Diff line number Diff line Loading @@ -1294,8 +1294,8 @@ fil_system_create( mutex_set_level(&(system->mutex), SYNC_ANY_LATCH); system->spaces = hash0_create(hash_size); system->name_hash = hash0_create(hash_size); system->spaces = hash_create(hash_size); system->name_hash = hash_create(hash_size); UT_LIST_INIT(system->LRU); Loading
innobase/ha/ha0ha.c +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ ha_create( hash_table_t* table; ulint i; table = hash0_create(n); table = hash_create(n); if (in_btr_search) { table->adaptive = TRUE; Loading
innobase/ha/hash0hash.c +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ Creates a hash table with >= n array cells. The actual number of cells is chosen to be a prime number slightly bigger than n. */ hash_table_t* hash0_create( hash_create( /*========*/ /* out, own: created table */ ulint n) /* in: number of array cells */ Loading