mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
branches/zip: ut_mem_init(): Add the assertion !ut_mem_block_list_inited.
This commit is contained in:
parent
2a28abf039
commit
94a226d16d
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ void
|
||||||
ut_mem_init(void)
|
ut_mem_init(void)
|
||||||
/*=============*/
|
/*=============*/
|
||||||
{
|
{
|
||||||
|
ut_a(!ut_mem_block_list_inited);
|
||||||
os_fast_mutex_init(&ut_list_mutex);
|
os_fast_mutex_init(&ut_list_mutex);
|
||||||
UT_LIST_INIT(ut_mem_block_list);
|
UT_LIST_INIT(ut_mem_block_list);
|
||||||
ut_mem_block_list_inited = TRUE;
|
ut_mem_block_list_inited = TRUE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue