Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@d2dfc60 (#506)
Browse files Browse the repository at this point in the history
Avoid throwing InternalException on reading secret (duckdb/duckdb#14336)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and krlmlr authored Oct 17, 2024
1 parent e1acd11 commit f576b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/duckdb/src/function/table/version/pragma_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DUCKDB_PATCH_VERSION
#define DUCKDB_PATCH_VERSION "2-dev197"
#define DUCKDB_PATCH_VERSION "2-dev199"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 1
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 1
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v1.1.2-dev197"
#define DUCKDB_VERSION "v1.1.2-dev199"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "56e2e0e572"
#define DUCKDB_SOURCE_ID "d2dfc60906"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
6 changes: 3 additions & 3 deletions src/duckdb/src/main/secret/secret_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ unique_ptr<BaseSecret> SecretManager::DeserializeSecret(Deserializer &deserializ

auto function_entry = LookupFunctionInternal(type, provider);
if (!function_entry) {
throw InternalException(
"Attempted to deserialize secret (type: '%s', provider: '%s') which does not have any functions registered",
type, provider);
throw IOException("Attempted to deserialize secret (type: '%s', provider: '%s', path: '%s') which does not "
"have any functions registered",
type, provider, secret_path);
}

return deserialized_type.deserializer(deserializer, {scope, type, provider, name},
Expand Down

0 comments on commit f576b45

Please sign in to comment.