diff options
author | unknown <bell@sanja.is.com.ua> | 2002-06-06 19:46:27 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-06-06 19:46:27 +0300 |
commit | ef99fb2e8be48b7bf148980490c3a01f406cf624 (patch) | |
tree | 58c530d622a40c758f487e0c480b8dd3f2980b1c /sql | |
parent | cb559732a1c2c2060f28b826333ffdce71b43a96 (diff) | |
download | mariadb-git-ef99fb2e8be48b7bf148980490c3a01f406cf624.tar.gz |
fixing error
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index ff1d6769b30..4a2900bf0a0 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1218,6 +1218,7 @@ ulong Query_cache::init_cache() uint mem_bin_count, num, step; ulong mem_bin_size, prev_size, inc; ulong additional_data_size, max_mem_bin_size, approx_additional_data_size; + int align; DBUG_ENTER("Query_cache::init_cache"); if (!initialized) @@ -1228,8 +1229,8 @@ ulong Query_cache::init_cache() if (query_cache_size < approx_additional_data_size) goto err; - query_cache_size -= approx_additional_data_size; - int align= query_cache_size % ALIGN_SIZE(1); + query_cache_size-= approx_additional_data_size; + align= query_cache_size % ALIGN_SIZE(1); if (align) { query_cache_size-= align; |