mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
branches/zip: buf_block_set_state(): Allow the state transition from
BUF_BLOCK_READY_FOR_USE to BUF_BLOCK_NOT_USED.
This commit is contained in:
parent
1f6af85001
commit
728902eae7
1 changed files with 3 additions and 2 deletions
|
@ -127,7 +127,8 @@ buf_block_set_state(
|
|||
break;
|
||||
case BUF_BLOCK_READY_FOR_USE:
|
||||
ut_a(state == BUF_BLOCK_MEMORY
|
||||
|| state == BUF_BLOCK_FILE_PAGE);
|
||||
|| state == BUF_BLOCK_FILE_PAGE
|
||||
|| state == BUF_BLOCK_NOT_USED);
|
||||
break;
|
||||
case BUF_BLOCK_MEMORY:
|
||||
ut_a(state == BUF_BLOCK_NOT_USED);
|
||||
|
|
Loading…
Add table
Reference in a new issue