mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Rename lock_pool_t to lock_list
Also, replace reverse iteration with forward iteration. lock_table_has(): Remove a redundant condition.
This commit is contained in:
parent
3ce8a0fc49
commit
6583506570
4 changed files with 16 additions and 36 deletions
|
|
@ -190,7 +190,7 @@ struct TrxFactory {
|
|||
the constructors of the trx_t members. */
|
||||
new(&trx->mod_tables) trx_mod_tables_t();
|
||||
|
||||
new(&trx->lock.table_locks) lock_pool_t();
|
||||
new(&trx->lock.table_locks) lock_list();
|
||||
|
||||
trx_init(trx);
|
||||
|
||||
|
|
@ -243,7 +243,7 @@ struct TrxFactory {
|
|||
|
||||
ut_ad(trx->read_view == NULL);
|
||||
|
||||
trx->lock.table_locks.~lock_pool_t();
|
||||
trx->lock.table_locks.~lock_list();
|
||||
}
|
||||
|
||||
/** Enforce any invariants here, this is called before the transaction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue