summaryrefslogtreecommitdiff
path: root/include/keycache.h
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2009-12-09 20:19:51 -0700
committerMarc Alff <marc.alff@sun.com>2009-12-09 20:19:51 -0700
commite33a8b2a1a254271d99b6c5f00097fd0d89adb90 (patch)
treecc0a038191d1969182d5dd108c891ee10a436cc0 /include/keycache.h
parentfd433cfb96adcbb013b27838cd80576dff92989d (diff)
downloadmariadb-git-e33a8b2a1a254271d99b6c5f00097fd0d89adb90.tar.gz
WL#2360 Performance schema
Part III: mysys instrumentation
Diffstat (limited to 'include/keycache.h')
-rw-r--r--include/keycache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keycache.h b/include/keycache.h
index a6005bae878..4e715dda88d 100644
--- a/include/keycache.h
+++ b/include/keycache.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 MySQL AB
+/* Copyright (C) 2003 MySQL AB, 2009 Sun Microsystems, Inc
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -70,7 +70,7 @@ typedef struct st_key_cache
uchar HUGE_PTR *block_mem; /* memory for block buffers */
BLOCK_LINK *used_last; /* ptr to the last block of the LRU chain */
BLOCK_LINK *used_ins; /* ptr to the insertion block in LRU chain */
- pthread_mutex_t cache_lock; /* to lock access to the cache structure */
+ mysql_mutex_t cache_lock; /* to lock access to the cache structure */
KEYCACHE_WQUEUE resize_queue; /* threads waiting during resize operation */
/*
Waiting for a zero resize count. Using a queue for symmetry though