1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
parent 7d6b55b99a
commit a1fe7d75dc
15 changed files with 28 additions and 50 deletions

View File

@@ -45,7 +45,7 @@ typedef uchar byte;
/// partially copy-pasted stuff that should be moved elsewhere
#if UNALIGNED_RAM_ACCESS
#ifdef UNALIGNED_RAM_ACCESS
/// pass-through wrapper
template < typename T > inline T sphUnalignedRead ( const T & tRef )
@@ -83,7 +83,7 @@ void sphUnalignedWrite ( void * pPtr, const T & tVal )
*pDst++ = *pSrc++;
}
#endif
#endif /* UNALIGNED_RAM_ACCESS */
#define SPHINXSE_MAX_ALLOC (16*1024*1024)