| This diff] shows that db_open_repository(0) was added to db_open_local(), which looks incorrect.