Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CurrentTransactionInvalidationPolicySetting Struct Reference

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void OnSet (SettingCallbackInfo &info, Value &input)

Static Public Attributes

static constexpr const char * Name = "current_transaction_invalidation_policy"
static constexpr const char * Description
static constexpr const char * InputType = "VARCHAR"
static constexpr const char * DefaultValue = "STANDARD_POLICY"
static constexpr SettingScopeTarget Scope = SettingScopeTarget::GLOBAL_ONLY
static constexpr idx_t SettingIndex = 16

Member Function Documentation

◆ OnSet()

void duckdb::CurrentTransactionInvalidationPolicySetting::OnSet ( SettingCallbackInfo & info,
Value & input )
static
303007 {
303008 if (!info.context) {
303009 throw InvalidInputException(
303010 "current_transaction_invalidaton_policy can only be set when there is an active client context");
303011 }
303012 info.context->transaction.SetInvalidationPolicy(
303013 EnumUtil::FromString<TransactionInvalidationPolicy>(input.GetValue<string>()));
303014}

Member Data Documentation

◆ Description

const char* duckdb::CurrentTransactionInvalidationPolicySetting::Description
staticconstexpr
Initial value:
=
"Which types of exceptions invalidate the database for the current transaction"

The documentation for this struct was generated from the following file: