From 2f2758604bf949a2078b251fdb45c6878e745fef Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Mon, 15 Dec 2008 11:19:47 +0100 Subject: [PATCH] Fixed bug --- storage/innobase/include/ut0ut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()