mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
Cosmetic: indent comments so all of them start on one column.
Suggested by: Sunny
This commit is contained in:
parent
1af2dbed12
commit
2af39365d6
1 changed files with 15 additions and 11 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue