vere: print db info on restart with -v

This commit is contained in:
Joe Bryan 2021-03-15 18:19:15 -07:00
parent 14c27540fc
commit 80ff923bb7

View File

@ -20,6 +20,8 @@
#include "all.h"
#include "vere/vere.h"
#include <vere/db/lmdb.h>
#define PIER_READ_BATCH 1000ULL
#define PIER_PLAY_BATCH 500ULL
#define PIER_WORK_BATCH 10ULL
@ -1623,6 +1625,12 @@ u3_pier_stay(c3_w wag_w, u3_noun pax)
exit(1);
}
if ( c3y == u3_Host.ops_u.veb ) {
FILE* fil_u = u3_term_io_hija();
u3_lmdb_stat(pir_u->log_u->mdb_u, fil_u);
u3_term_io_loja(1 );
}
u3z(pax);
return pir_u;