Merge hundin.mysql.fi:/home/heikki/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.1 innobase/row/row0mysql.c: Auto merged sql/sql_cache.cc: Auto merged
This commit is contained in:
commit
0d57871425
@ -417,7 +417,7 @@ row_create_prebuilt(
|
||||
prebuilt->sel_graph = NULL;
|
||||
|
||||
prebuilt->search_tuple = dtuple_create(heap,
|
||||
dict_table_get_n_cols(table));
|
||||
2 * dict_table_get_n_cols(table));
|
||||
|
||||
clust_index = dict_table_get_first_index(table);
|
||||
|
||||
|
@ -1421,7 +1421,7 @@ ulong Query_cache::init_cache()
|
||||
init();
|
||||
approx_additional_data_size = (sizeof(Query_cache) +
|
||||
sizeof(gptr)*(def_query_hash_size+
|
||||
def_query_hash_size));
|
||||
def_table_hash_size));
|
||||
if (query_cache_size < approx_additional_data_size)
|
||||
goto err;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user