diff --git a/.gitignore b/.gitignore index 034e85ae94c2817c9cb98521608f442f4361d154..de70dc9b9ec28f4e0cb15c42250df86b2139b334 100644 --- a/.gitignore +++ b/.gitignore @@ -53,6 +53,7 @@ src/tests/test_atomic src/tests/test_file_write_hole src/tests/test_file_lock src/tests/test_thread_pool +src/tests/test_data_visible # other *.swp diff --git a/src/connection_pool.c b/src/connection_pool.c index ef1a6c3a0070470236388ba2fb29589ff79dd79f..5525c30169a2a553b8577ddee09915e0aa490919 100644 --- a/src/connection_pool.c +++ b/src/connection_pool.c @@ -57,7 +57,7 @@ int conn_pool_init_ex1(ConnectionPool *cp, int connect_timeout, if ((result=fast_mblock_init_ex1(&cp->node_allocator, "cpool_node", sizeof(ConnectionNode) + sizeof(ConnectionInfo) + extra_data_size, init_capacity, alloc_elements_limit, - NULL, NULL, false)) != 0) + NULL, NULL, true)) != 0) { return result; }