minor, check for ptr values after call to db_create()
hygiene, degrade ftmap_off() to pure, because const was a lie
Merge branch 'code/hygiene'

* code/hygiene:
  hygiene, degrade ftmap_off() to pure, because const was a lie
  minor, check for ptr values after call to db_create()