Move utility conditional transactions to a helper wrapper.

FossilOrigin-Name: ae7078a55b83a71f41a6e5d076a6a5ad1483aafac10be5d77afcd4a537a6f663
This commit is contained in:
Mahlon E. Smith 2021-03-15 07:39:01 +00:00
parent 755fca55a1
commit 00036862df
3 changed files with 41 additions and 40 deletions

View file

@ -148,7 +148,7 @@ rmdbx_gather_reader_stats(
{
VALUE readers = rb_ary_new();
mdbx_reader_list( db->env, reader_list_callback, (void*)readers );
mdbx_reader_list( db->env, reader_list_callback, (void*)readers );
rb_hash_aset( stat, ID2SYM(rb_intern("readers")), readers );
return;