From 2aac188246f31fdbff0f7b7d2697f05b60753ffb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 19:15:16 +0000 Subject: [PATCH] chore: Update vendored sources to duckdb/duckdb@95a9fe9f2681175788ac85dfe67a370ef9b6f32d (#357) Merge pull request duckdb/duckdb#13758 from Mytherin/walioexception Co-authored-by: krlmlr --- src/duckdb/src/function/table/version/pragma_version.cpp | 6 +++--- src/duckdb/src/storage/wal_replay.cpp | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/duckdb/src/function/table/version/pragma_version.cpp b/src/duckdb/src/function/table/version/pragma_version.cpp index 1707ee658..5bfbdd90c 100644 --- a/src/duckdb/src/function/table/version/pragma_version.cpp +++ b/src/duckdb/src/function/table/version/pragma_version.cpp @@ -1,5 +1,5 @@ #ifndef DUCKDB_PATCH_VERSION -#define DUCKDB_PATCH_VERSION "1-dev5212" +#define DUCKDB_PATCH_VERSION "1-dev5216" #endif #ifndef DUCKDB_MINOR_VERSION #define DUCKDB_MINOR_VERSION 0 @@ -8,10 +8,10 @@ #define DUCKDB_MAJOR_VERSION 1 #endif #ifndef DUCKDB_VERSION -#define DUCKDB_VERSION "v1.0.1-dev5212" +#define DUCKDB_VERSION "v1.0.1-dev5216" #endif #ifndef DUCKDB_SOURCE_ID -#define DUCKDB_SOURCE_ID "756d4fcb62" +#define DUCKDB_SOURCE_ID "95a9fe9f26" #endif #include "duckdb/function/table/system_functions.hpp" #include "duckdb/main/database.hpp" diff --git a/src/duckdb/src/storage/wal_replay.cpp b/src/duckdb/src/storage/wal_replay.cpp index 85fe1bf36..890a5a617 100644 --- a/src/duckdb/src/storage/wal_replay.cpp +++ b/src/duckdb/src/storage/wal_replay.cpp @@ -87,10 +87,9 @@ class WriteAheadLogDeserializer { // compute and verify the checksum auto computed_checksum = Checksum(buffer.get(), size); if (stored_checksum != computed_checksum) { - throw SerializationException( - "Corrupt WAL file: entry at byte position %llu computed checksum %llu does not match " - "stored checksum %llu", - offset, computed_checksum, stored_checksum); + throw IOException("Corrupt WAL file: entry at byte position %llu computed checksum %llu does not match " + "stored checksum %llu", + offset, computed_checksum, stored_checksum); } return WriteAheadLogDeserializer(state_p, std::move(buffer), size, deserialize_only); }