mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge 10.2 into 10.3
This commit is contained in:
commit
cfbdb5d210
8 changed files with 1041 additions and 2562 deletions
|
|
@ -1881,7 +1881,8 @@ struct dict_table_t {
|
|||
UT_LIST_BASE_NODE_T(dict_index_t) indexes;
|
||||
#ifdef BTR_CUR_HASH_ADAPT
|
||||
/** List of detached indexes that are waiting to be freed along with
|
||||
the last adaptive hash index entry */
|
||||
the last adaptive hash index entry.
|
||||
Protected by autoinc_mutex (sic!) */
|
||||
UT_LIST_BASE_NODE_T(dict_index_t) freed_indexes;
|
||||
#endif /* BTR_CUR_HASH_ADAPT */
|
||||
|
||||
|
|
@ -2048,7 +2049,7 @@ struct dict_table_t {
|
|||
from a select. */
|
||||
lock_t* autoinc_lock;
|
||||
|
||||
/** Mutex protecting the autoincrement counter. */
|
||||
/** Mutex protecting the autoinc counter and freed_indexes. */
|
||||
mysql_mutex_t autoinc_mutex;
|
||||
|
||||
/** Autoinc counter value to give to the next inserted row. */
|
||||
|
|
@ -2080,7 +2081,6 @@ struct dict_table_t {
|
|||
determine whether we can evict the table from the dictionary cache.
|
||||
It is protected by lock_sys.mutex. */
|
||||
ulint n_rec_locks;
|
||||
|
||||
private:
|
||||
/** Count of how many handles are opened to this table. Dropping of the
|
||||
table is NOT allowed until this count gets to zero. MySQL does NOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue