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

Function IsUsingIODBC

cpp/src/arrow/flight/sql/odbc/odbc_impl/encoding.cc:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32std::mutex SqlWCharSizeMutex;
33
34bool IsUsingIODBC() {
35 // Detects iODBC by looking up by symbol iodbc_version
36 void* handle = dlsym(RTLD_DEFAULT, "iodbc_version");
37 bool using_iodbc = handle != nullptr;
38 dlclose(handle);
39
40 return using_iodbc;
41}
42} // namespace
43
44void ComputeSqlWCharSize() {

Callers 1

ComputeSqlWCharSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected