dead assignment, read_pressure never read.
dead assignments ('uri' never read, 'session' never read)
minor return cleanup.
dead assignment ("typestr" always reset)
dead assignment ("reserve" never read before being reset).
dead assignment ("fd" never read before being subsequently set)
Don't cast the return from calloc, it's not necessary.
Don't drop core if table_count < 1; database_count < 1 makes no sense,
check it as well.
If the configuration sanity check fails, we're done, don't keep trying.