summaryrefslogtreecommitdiff
path: root/include/maria.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/maria.h')
-rw-r--r--include/maria.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/maria.h b/include/maria.h
index 7eae8ae0430..f3d75214095 100644
--- a/include/maria.h
+++ b/include/maria.h
@@ -174,7 +174,7 @@ typedef struct st_maria_key /* Internal info about a key */
typedef struct st_maria_keydef /* Key definition with open & info */
{
struct st_maria_share *share; /* Pointer to base (set in open) */
- rw_lock_t root_lock; /* locking of tree */
+ mysql_rwlock_t root_lock; /* locking of tree */
uint16 keysegs; /* Number of key-segment */
uint16 flag; /* NOSAME, PACK_USED */
@@ -355,8 +355,8 @@ typedef struct st_maria_bit_buff
typedef struct st_maria_sort_info
{
/* sync things */
- pthread_mutex_t mutex;
- pthread_cond_t cond;
+ mysql_mutex_t mutex;
+ mysql_cond_t cond;
MARIA_HA *info, *new_info;
HA_CHECK *param;
char *buff;