mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
MDEV-7918: A number of tests fail in valgrind builder with "InnoDB: Error: Requested state 6 current state 4 old_state 4"
Problem with this state transfer is that different state transfers are protected with different mutexes.
This commit is contained in:
@@ -275,13 +275,6 @@ buf_page_set_state(
|
|||||||
}
|
}
|
||||||
#endif /* UNIV_DEBUG */
|
#endif /* UNIV_DEBUG */
|
||||||
bpage->state = state;
|
bpage->state = state;
|
||||||
#ifdef UNIV_DEBUG
|
|
||||||
if( buf_page_get_state(bpage) != state) {
|
|
||||||
fprintf(stderr, "InnoDB: Error: Requested state %d current state %d old_state %d\n",
|
|
||||||
state, buf_page_get_state(bpage), old_state);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
ut_ad(buf_page_get_state(bpage) == state);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************//**
|
/*********************************************************************//**
|
||||||
|
@@ -279,13 +279,6 @@ buf_page_set_state(
|
|||||||
#endif /* UNIV_DEBUG */
|
#endif /* UNIV_DEBUG */
|
||||||
|
|
||||||
bpage->state = state;
|
bpage->state = state;
|
||||||
#ifdef UNIV_DEBUG
|
|
||||||
if( buf_page_get_state(bpage) != state) {
|
|
||||||
fprintf(stderr, "InnoDB: Error: Requested state %d current state %d old_state %d\n",
|
|
||||||
state, buf_page_get_state(bpage), old_state);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
ut_ad(buf_page_get_state(bpage) == state);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************//**
|
/*********************************************************************//**
|
||||||
|
Reference in New Issue
Block a user