Commit ddeeeb01 authored by vasil's avatar vasil

Cosmetic: indent comments so all of them start on one column.

Suggested by:	Sunny
parent a166dfaa
...@@ -24,25 +24,29 @@ those functions in lock/ */ ...@@ -24,25 +24,29 @@ those functions in lock/ */
/* A table lock */ /* A table lock */
typedef struct lock_table_struct lock_table_t; typedef struct lock_table_struct lock_table_t;
struct lock_table_struct{ struct lock_table_struct {
dict_table_t* table; /* database table in dictionary cache */ dict_table_t* table; /* database table in dictionary
cache */
UT_LIST_NODE_T(lock_t) 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 */ /* Record lock for a page */
typedef struct lock_rec_struct lock_rec_t; typedef struct lock_rec_struct lock_rec_t;
struct lock_rec_struct{ struct lock_rec_struct {
ulint space; /* space id */ ulint space; /* space id */
ulint page_no; /* page number */ ulint page_no; /* page number */
ulint n_bits; /* number of bits in the lock bitmap */ ulint n_bits; /* number of bits in the lock
/* NOTE: the lock bitmap is placed immediately bitmap; NOTE: the lock bitmap is
after the lock struct */ placed immediately after the
lock struct */
}; };
/* Lock struct */ /* Lock struct */
struct lock_struct{ struct lock_struct {
trx_t* trx; /* transaction owning the lock */ trx_t* trx; /* transaction owning the
lock */
UT_LIST_NODE_T(lock_t) UT_LIST_NODE_T(lock_t)
trx_locks; /* list of the locks of the trx_locks; /* list of the locks of the
transaction */ transaction */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment