Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@14ae66d
Browse files Browse the repository at this point in the history
Merge pull request duckdb/duckdb#11732 from Tishj/alternative_verify_always_copy
  • Loading branch information
krlmlr committed May 5, 2024
1 parent 7f6a8cb commit 543c7dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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 "3-dev258"
#define DUCKDB_PATCH_VERSION "3-dev260"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 10
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 0
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v0.10.3-dev258"
#define DUCKDB_VERSION "v0.10.3-dev260"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "bfb8f48c95"
#define DUCKDB_SOURCE_ID "14ae66d4f2"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
5 changes: 5 additions & 0 deletions src/duckdb/src/main/client_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,11 @@ void ClientContext::SetActiveResult(ClientContextLock &lock, BaseQueryResult &re
unique_ptr<PendingQueryResult> ClientContext::PendingStatementOrPreparedStatementInternal(
ClientContextLock &lock, const string &query, unique_ptr<SQLStatement> statement,
shared_ptr<PreparedStatementData> &prepared, const PendingQueryParameters &parameters) {
#ifdef DUCKDB_ALTERNATIVE_VERIFY
if (statement && statement->type != StatementType::LOGICAL_PLAN_STATEMENT) {
statement = statement->Copy();
}
#endif
// check if we are on AutoCommit. In this case we should start a transaction.
if (statement && config.AnyVerification()) {
// query verification is enabled
Expand Down

0 comments on commit 543c7dc

Please sign in to comment.