@@ -52,20 +52,15 @@ namespace duckdb
5252 return ;
5353 }
5454
55- auto &dbconfig = DBConfig::GetConfig (loader.GetDatabaseInstance ());
56- auto old_value = dbconfig.options .autoinstall_known_extensions ;
57- dbconfig.options .autoinstall_known_extensions = false ;
5855 try
5956 {
60- ExtensionHelper::AutoLoadExtension (loader.GetDatabaseInstance (), " httpfs" );
57+ ExtensionHelper::TryAutoLoadExtension (loader.GetDatabaseInstance (), " httpfs" );
6158 }
6259 catch (...)
6360 {
64- dbconfig.options .autoinstall_known_extensions = old_value;
6561 return ;
6662 }
6763
68- dbconfig.options .autoinstall_known_extensions = old_value;
6964 if (!loader.GetDatabaseInstance ().ExtensionIsLoaded (" httpfs" ))
7065 {
7166 return ;
@@ -81,7 +76,7 @@ namespace duckdb
8176
8277 yyjson_mut_obj_add_str (doc, result_obj, " extension_name" , extension_name.c_str ());
8378 yyjson_mut_obj_add_str (doc, result_obj, " extension_version" , extension_version.c_str ());
84- yyjson_mut_obj_add_str (doc, result_obj, " user_agent" , " query-farm/20251011 " );
79+ yyjson_mut_obj_add_str (doc, result_obj, " user_agent" , " query-farm/20260201 " );
8580 yyjson_mut_obj_add_str (doc, result_obj, " duckdb_platform" , platform.c_str ());
8681 yyjson_mut_obj_add_str (doc, result_obj, " duckdb_library_version" , DuckDB::LibraryVersion ());
8782 yyjson_mut_obj_add_str (doc, result_obj, " duckdb_release_codename" , DuckDB::ReleaseCodename ());
0 commit comments