6/12 push set_db_path up to Naming_table.save
Summary:
This diff stack gets rid of global sharedmem state "NamingTableDatabaseSettings", which stores the path to the naming DB.
In this diff I'm just pushing the call to `set_db_path` out of Naming_sqlite.update_file_infos up to its caller.
My eventual goal is that the leaf functions shouldn't have access to or control over sharedmem state. They should be pure functions which only give answers based on their input parameters. That's why it's bad that a leaf function like `Naming_sqlite.update_file_infos` should modify global state.
Reviewed By: arxanas
Differential Revision:
D21192120
fbshipit-source-id:
ed726f251cab61c992dff617c544476283305763