diff options
author | heikki@hundin.mysql.fi <> | 2005-02-13 21:05:18 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2005-02-13 21:05:18 +0200 |
commit | 961d8b0ebf427ff4a3a4d2f32c06579198642303 (patch) | |
tree | 94f0841be5c9e51b46e9ec0efb97c1842e87c73d | |
parent | 21f1b24c293109994ab38c64942d9d3c90742608 (diff) | |
parent | 548f7dbada385ca42b78cc6c32639174464a0800 (diff) | |
download | mariadb-git-961d8b0ebf427ff4a3a4d2f32c06579198642303.tar.gz |
Merge hundin.mysql.fi:/home/heikki/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.1
-rw-r--r-- | innobase/row/row0mysql.c | 2 | ||||
-rw-r--r-- | sql/sql_cache.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index b7cd730828a..482cf698547 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -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); diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index e1367412601..6eff958257b 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -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; |