summaryrefslogtreecommitdiff
path: root/storage/maria/tablockman.c
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2007-12-18 23:22:55 +0100
committerunknown <serg@janus.mylan>2007-12-18 23:22:55 +0100
commit4220afa52a0e22a9e99ff50c6878b25d19f1f312 (patch)
tree2295a8574b4c6f11f6de87297eb8d06649910e78 /storage/maria/tablockman.c
parent630169c6d896bd33b65866d91f2bd8894b79bfa1 (diff)
downloadmariadb-git-4220afa52a0e22a9e99ff50c6878b25d19f1f312.tar.gz
solaris fixes
include/lf.h: Forte fixes
Diffstat (limited to 'storage/maria/tablockman.c')
-rw-r--r--storage/maria/tablockman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/maria/tablockman.c b/storage/maria/tablockman.c
index eb8da1d6865..1fd9ed6ec72 100644
--- a/storage/maria/tablockman.c
+++ b/storage/maria/tablockman.c
@@ -162,7 +162,7 @@ static const int lock_compatibility_matrix[10][10]=
One should never get N from it, we assert the impossibility
*/
-static const enum lock_type lock_combining_matrix[10][10]=
+static const enum lockman_lock_type lock_combining_matrix[10][10]=
{/* N S X IS IX SIX LS LX SLX LSIX */
{ N, N, N, N, N, N, N, N, N, N}, /* N */
{ N, S, X, S, SIX, SIX, S, SLX, SLX, SIX}, /* S */
@@ -269,13 +269,13 @@ void remove_from_wait_queue(TABLE_LOCK *lock, LOCKED_TABLE *table)
*/
enum lockman_getlock_result
tablockman_getlock(TABLOCKMAN *lm, TABLE_LOCK_OWNER *lo,
- LOCKED_TABLE *table, enum lock_type lock)
+ LOCKED_TABLE *table, enum lockman_lock_type lock)
{
TABLE_LOCK *old, *new, *blocker, *blocker2;
TABLE_LOCK_OWNER *wait_for;
ulonglong deadline;
struct timespec timeout;
- enum lock_type new_lock;
+ enum lockman_lock_type new_lock;
enum lockman_getlock_result res;
int i;