mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Temporal fix for flush thread hang.
Added option to disable multi-threaded flush with innodb_use_mtflush = 0 option, by default multi-threaded flush is used. Updated innochecksum tool, still it does not support new checksums.
This commit is contained in:
parent
b620e7368f
commit
c88a0d48c6
22 changed files with 616 additions and 372 deletions
|
|
@ -58,3 +58,23 @@ ib_list_is_empty(
|
|||
{
|
||||
return(!(list->first || list->last));
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
Get number of items on list.
|
||||
@return number of items on list */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
ib_list_len(
|
||||
/*========*/
|
||||
const ib_list_t* list) /*<! in: list */
|
||||
{
|
||||
ulint len = 0;
|
||||
ib_list_node_t* node = list->first;
|
||||
|
||||
while(node) {
|
||||
len++;
|
||||
node = node->next;
|
||||
}
|
||||
|
||||
return (len);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue