Removed even more warning that was found with -Wunused

- Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked
  (HA_KEYTYPE_FLOAT is an enum)
- Define HA_FT_MAXLEN to 126 (was tested before but never defined)
This commit is contained in:
Monty 2018-04-30 15:21:52 +03:00
commit a1fe7d75dc
15 changed files with 28 additions and 50 deletions

View file

@ -985,7 +985,7 @@ static int flush_all_key_blocks(PAGECACHE *pagecache)
resizing, due to the page locking specific to this page cache.
So we disable it for now.
*/
#if NOT_USED /* keep disabled until code is fixed see above !! */
#ifdef NOT_USED /* keep disabled until code is fixed see above !! */
size_t resize_pagecache(PAGECACHE *pagecache,
size_t use_mem, uint division_limit,
uint age_threshold, uint changed_blocks_hash_size)