Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@95a9fe9 (#357)
Browse files Browse the repository at this point in the history
Merge pull request duckdb/duckdb#13758 from Mytherin/walioexception

Co-authored-by: krlmlr <[email protected]>
  • Loading branch information
github-actions[bot] and krlmlr authored Sep 10, 2024
1 parent 137852c commit 2aac188
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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 "1-dev5212"
#define DUCKDB_PATCH_VERSION "1-dev5216"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 0
Expand All @@ -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"
Expand Down
7 changes: 3 additions & 4 deletions src/duckdb/src/storage/wal_replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2aac188

Please sign in to comment.