diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:15:07 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:15:07 -0300 |
commit | cc3a26289d7b3e8275bf26f7c7d5682f8c86f2ad (patch) | |
tree | 6a6d06ccca15bd33f316633d542c8be2470ffcca /include/my_global.h | |
parent | 7a221fc9a30888fc30bd0ef79445829896572d97 (diff) | |
download | mariadb-git-cc3a26289d7b3e8275bf26f7c7d5682f8c86f2ad.tar.gz |
WL#5498: Remove dead and unused source code
Remove the ancient and dead raid code. By now, even the server side
has been removed.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/my_global.h b/include/my_global.h index b7ec40fc2e0..33eaefefe62 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1125,22 +1125,6 @@ typedef long long intptr; #define MY_ERRPTR ((void*)(intptr)1) -#ifdef USE_RAID -/* - The following is done with a if to not get problems with pre-processors - with late define evaluation -*/ -#if SIZEOF_OFF_T == 4 -#define SYSTEM_SIZEOF_OFF_T 4 -#else -#define SYSTEM_SIZEOF_OFF_T 8 -#endif -#undef SIZEOF_OFF_T -#define SIZEOF_OFF_T 8 -#else -#define SYSTEM_SIZEOF_OFF_T SIZEOF_OFF_T -#endif /* USE_RAID */ - #if defined(_WIN32) typedef unsigned long long my_off_t; typedef unsigned long long os_off_t; @@ -1699,8 +1683,6 @@ static inline double rint(double x) #undef HAVE_SMEM /* No shared memory */ #undef HAVE_NDBCLUSTER_DB /* No NDB cluster */ -#define DONT_USE_RAID - #endif /* EMBEDDED_LIBRARY */ #endif /* my_global_h */ |