Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d365446f
Commit
d365446f
authored
Nov 30, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/marko/k/mysql-4.1
parents
b8028e6a
12738cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+15
-14
No files found.
innobase/lock/lock0lock.c
View file @
d365446f
...
@@ -365,6 +365,21 @@ lock_deadlock_recursive(
...
@@ -365,6 +365,21 @@ lock_deadlock_recursive(
ulint
*
cost
);
/* in/out: number of calculation steps thus
ulint
*
cost
);
/* in/out: number of calculation steps thus
far: if this exceeds LOCK_MAX_N_STEPS_...
far: if this exceeds LOCK_MAX_N_STEPS_...
we return TRUE */
we return TRUE */
/*************************************************************************
Gets the type of a lock. */
UNIV_INLINE
ulint
lock_get_type
(
/*==========*/
/* out: LOCK_TABLE or LOCK_REC */
lock_t
*
lock
)
/* in: lock */
{
ut_ad
(
lock
);
return
(
lock
->
type_mode
&
LOCK_TYPE_MASK
);
}
/*************************************************************************
/*************************************************************************
Gets the nth bit of a record lock. */
Gets the nth bit of a record lock. */
UNIV_INLINE
UNIV_INLINE
...
@@ -568,20 +583,6 @@ lock_get_mode(
...
@@ -568,20 +583,6 @@ lock_get_mode(
return
(
lock
->
type_mode
&
LOCK_MODE_MASK
);
return
(
lock
->
type_mode
&
LOCK_MODE_MASK
);
}
}
/*************************************************************************
Gets the type of a lock. */
UNIV_INLINE
ulint
lock_get_type
(
/*==========*/
/* out: LOCK_TABLE or LOCK_REC */
lock_t
*
lock
)
/* in: lock */
{
ut_ad
(
lock
);
return
(
lock
->
type_mode
&
LOCK_TYPE_MASK
);
}
/*************************************************************************
/*************************************************************************
Gets the wait flag of a lock. */
Gets the wait flag of a lock. */
UNIV_INLINE
UNIV_INLINE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment