mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
ha_innodb.cc:
Fix bug: mysqld-debug-max failed standard test because a safe mutex size was seen as 24 bytes in the body of ha_innodb.cc, but 64 bytes in read0read.c
This commit is contained in:
@ -40,17 +40,12 @@ InnoDB */
|
|||||||
|
|
||||||
#include "ha_innodb.h"
|
#include "ha_innodb.h"
|
||||||
|
|
||||||
/* We must declare this here because we undef SAFE_MUTEX below */
|
|
||||||
pthread_mutex_t innobase_mutex;
|
pthread_mutex_t innobase_mutex;
|
||||||
|
|
||||||
/* Store MySQL definition of 'byte': in Linux it is char while InnoDB
|
/* Store MySQL definition of 'byte': in Linux it is char while InnoDB
|
||||||
uses unsigned char */
|
uses unsigned char */
|
||||||
typedef byte mysql_byte;
|
typedef byte mysql_byte;
|
||||||
|
|
||||||
#ifdef SAFE_MUTEX
|
|
||||||
#undef pthread_mutex_t
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define INSIDE_HA_INNOBASE_CC
|
#define INSIDE_HA_INNOBASE_CC
|
||||||
|
|
||||||
/* Include necessary InnoDB headers */
|
/* Include necessary InnoDB headers */
|
||||||
|
Reference in New Issue
Block a user