diff options
author | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2012-03-01 15:44:23 +0530 |
---|---|---|
committer | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2012-03-01 15:44:23 +0530 |
commit | 98642459db8481a90f54bddd9fc24aa4a06df805 (patch) | |
tree | 99f0c0804de97c5a1fa77ef441936131e870ad23 /storage | |
parent | 27ecea534c6921c9cedd0d378caafda3e632c250 (diff) | |
download | mariadb-git-98642459db8481a90f54bddd9fc24aa4a06df805.tar.gz |
The innodb plugin module cannot use DEBUG_SYNC_C facility on Windows.
Taking care of it.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innodb_plugin/row/row0mysql.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/storage/innodb_plugin/row/row0mysql.c b/storage/innodb_plugin/row/row0mysql.c index cd46244eb34..b7df3479a3c 100644 --- a/storage/innodb_plugin/row/row0mysql.c +++ b/storage/innodb_plugin/row/row0mysql.c @@ -51,8 +51,14 @@ Created 9/17/2000 Heikki Tuuri #include "btr0sea.h" #include "fil0fil.h" #include "ibuf0ibuf.h" -#include "m_string.h" -#include "my_sys.h" + +#ifdef __WIN__ +/* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */ +# define DEBUG_SYNC_C(dummy) ((void) 0) +#else +# include "m_string.h" /* for my_sys.h */ +# include "my_sys.h" /* DEBUG_SYNC_C */ +#endif /** Provide optional 4.x backwards compatibility for 5.0 and above */ UNIV_INTERN ibool row_rollback_on_timeout = FALSE; |