Commit 621db3d4 authored by Annamalai Gurusami's avatar Annamalai Gurusami

The innodb plugin module cannot use DEBUG_SYNC_C facility on Windows.

Taking care of it.  
parent 7e36c4bd
--source include/have_innodb_plugin.inc --source include/have_innodb_plugin.inc
--source include/have_debug_sync.inc --source include/have_debug_sync.inc
--source include/not_embedded.inc --source include/not_embedded.inc
# InnoDB Plugin cannot use DEBUG_SYNC on Windows
--source include/not_windows.inc
SET DEBUG_SYNC='reset'; SET DEBUG_SYNC='reset';
......
...@@ -51,8 +51,14 @@ Created 9/17/2000 Heikki Tuuri ...@@ -51,8 +51,14 @@ Created 9/17/2000 Heikki Tuuri
#include "btr0sea.h" #include "btr0sea.h"
#include "fil0fil.h" #include "fil0fil.h"
#include "ibuf0ibuf.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 */ /** Provide optional 4.x backwards compatibility for 5.0 and above */
UNIV_INTERN ibool row_rollback_on_timeout = FALSE; UNIV_INTERN ibool row_rollback_on_timeout = FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment