mirror of
https://github.com/MariaDB/server.git
synced 2025-07-07 06:01:31 +03:00
The innodb plugin module cannot use DEBUG_SYNC_C facility on Windows.
Taking care of it.
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
--source include/have_innodb_plugin.inc
|
||||
--source include/have_debug_sync.inc
|
||||
--source include/not_embedded.inc
|
||||
# InnoDB Plugin cannot use DEBUG_SYNC on Windows
|
||||
--source include/not_windows.inc
|
||||
|
||||
SET DEBUG_SYNC='reset';
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user