summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2008-12-15 11:19:47 +0100
committerMikael Ronstrom <mikael@mysql.com>2008-12-15 11:19:47 +0100
commitac6e835572204cb399c99e55a15cd1e679e22710 (patch)
tree28f67416921a644bb498e9810c6e505c18248a7f /storage
parenteb07b0fab76492eb723d52b96b3a2e15368dc573 (diff)
downloadmariadb-git-ac6e835572204cb399c99e55a15cd1e679e22710.tar.gz
Fixed bug
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/include/ut0ut.h2
1 files changed, 1 insertions, 1 deletions
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()