diff --git a/modules/global-db/dap_chain_global_db_driver_mdbx.c b/modules/global-db/dap_chain_global_db_driver_mdbx.c index ef921e7abdd20a2b6639e11b592a2d71fa265b5b..4eacadc2ea7d1b8c46cbdd3546299d7b67eeecc0 100644 --- a/modules/global-db/dap_chain_global_db_driver_mdbx.c +++ b/modules/global-db/dap_chain_global_db_driver_mdbx.c @@ -772,6 +772,7 @@ MDBX_stat l_stat; struct __record_suffix__ *l_suff; + if (!a_group) /* Sanity check */ return NULL; @@ -785,6 +786,7 @@ struct __record_suffix__ *l_suff; + /* * Perfroms a find/get a record with the given key */ @@ -831,6 +833,7 @@ struct __record_suffix__ *l_suff; + /* ** If a_key is NULL - retreive a requestd number of recrods from the table */