MCPcopy Create free account
hub / github.com/apache/arrow / SetAttribute

Function SetAttribute

cpp/src/arrow/flight/sql/odbc/odbc_impl/attribute_utils.h:138–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137template <typename T>
138inline void SetAttribute(SQLPOINTER new_value, T& attribute_to_write) {
139 SQLLEN valueAsLen = reinterpret_cast<SQLLEN>(new_value);
140 attribute_to_write = static_cast<T>(valueAsLen);
141}
142
143template <typename T>
144inline void SetPointerAttribute(SQLPOINTER new_value, T& attribute_to_write) {

Callers 4

SetHeaderFieldMethod · 0.85
SetFieldMethod · 0.85
SetConnectAttrMethod · 0.85
SetStmtAttrMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected