r21706: get_delete_on_close_flag() is the perfect candidate for tdb_parse_record()