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
ddeeeb01
Commit
ddeeeb01
authored
Jul 13, 2007
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic: indent comments so all of them start on one column.
Suggested by: Sunny
parent
a166dfaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
include/lock0priv.h
include/lock0priv.h
+15
-11
No files found.
include/lock0priv.h
View file @
ddeeeb01
...
...
@@ -24,25 +24,29 @@ those functions in lock/ */
/* A table lock */
typedef
struct
lock_table_struct
lock_table_t
;
struct
lock_table_struct
{
dict_table_t
*
table
;
/* database table in dictionary cache */
struct
lock_table_struct
{
dict_table_t
*
table
;
/* database table in dictionary
cache */
UT_LIST_NODE_T
(
lock_t
)
locks
;
/* list of locks on the same table */
locks
;
/* list of locks on the same
table */
};
/* Record lock for a page */
typedef
struct
lock_rec_struct
lock_rec_t
;
struct
lock_rec_struct
{
ulint
space
;
/* space id */
ulint
page_no
;
/* page number */
ulint
n_bits
;
/* number of bits in the lock bitmap */
/* NOTE: the lock bitmap is placed immediately
after the lock struct */
struct
lock_rec_struct
{
ulint
space
;
/* space id */
ulint
page_no
;
/* page number */
ulint
n_bits
;
/* number of bits in the lock
bitmap; NOTE: the lock bitmap is
placed immediately after the
lock struct */
};
/* Lock struct */
struct
lock_struct
{
trx_t
*
trx
;
/* transaction owning the lock */
struct
lock_struct
{
trx_t
*
trx
;
/* transaction owning the
lock */
UT_LIST_NODE_T
(
lock_t
)
trx_locks
;
/* list of the locks of the
transaction */
...
...
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