summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-02-13 21:05:18 +0200
committerunknown <heikki@hundin.mysql.fi>2005-02-13 21:05:18 +0200
commit76e070bac7ba2002258f825fb5d53dadfe3f3973 (patch)
tree94f0841be5c9e51b46e9ec0efb97c1842e87c73d /sql/sql_cache.cc
parent3f22ec80fbd7f5014974c65ce149c1b07d540a8e (diff)
parent113078d27681c6d42ad212498c5692e7f832d1aa (diff)
downloadmariadb-git-76e070bac7ba2002258f825fb5d53dadfe3f3973.tar.gz
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
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 1 insertions, 1 deletions
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;