Index: mysql-cluster-gpl-7.3.7/storage/ndb/src/common/portlib/NdbTick.cpp =================================================================== --- mysql-cluster-gpl-7.3.7.orig/storage/ndb/src/common/portlib/NdbTick.cpp +++ mysql-cluster-gpl-7.3.7/storage/ndb/src/common/portlib/NdbTick.cpp @@ -27,7 +27,7 @@ #define NANOSEC_PER_MICROSEC 1000 Uint64 NdbDuration::tick_frequency = 0; -static bool isMontonic = true; +static bool isMonotonic = true; static bool isInited = false; #ifdef HAVE_CLOCK_GETTIME @@ -61,7 +61,7 @@ void NdbTick_Init() /** * Fall through: Fallback to use CLOCK_REALTIME. */ - isMontonic = false; + isMonotonic = false; NdbTick_clk_id = CLOCK_REALTIME; if (clock_gettime(NdbTick_clk_id, &tick_time) == 0) return; @@ -108,14 +108,14 @@ void NdbTick_Init() NdbDuration::tick_frequency = MICROSEC_PER_SEC; /* gettimeofday() is not guaranteed to be monotonic */ - isMontonic = false; + isMonotonic = false; #endif } bool NdbTick_IsMonotonic() { assert(isInited); - return isMontonic; + return isMonotonic; } const NDB_TICKS NdbTick_getCurrentTicks(void)