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

Function GetDefaultSqlCharType

cpp/src/arrow/flight/sql/odbc/odbc_impl/util.cc:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53SqlDataType GetDefaultSqlCharType(bool use_wide_char) {
54 return use_wide_char ? SqlDataType_WCHAR : SqlDataType_CHAR;
55}
56SqlDataType GetDefaultSqlVarcharType(bool use_wide_char) {
57 return use_wide_char ? SqlDataType_WVARCHAR : SqlDataType_VARCHAR;
58}

Callers 1

EnsureRightSqlCharTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected