diff --git a/storage/innobase/include/ut0ut.h b/storage/innobase/include/ut0ut.h index f9198b63c89..7bb22de0950 100644 --- a/storage/innobase/include/ut0ut.h +++ b/storage/innobase/include/ut0ut.h @@ -24,7 +24,7 @@ typedef time_t ib_time_t; #define PAUSE_INSTRUCTION() \ { \ volatile lint volatile_var; \ - os_compare_and_swap(volatile_var, 0, 1); \ + os_compare_and_swap(&volatile_var, 0, 1); \ } #else #define PAUSE_INSTRUCTION()