Public =========================================================================================
| 55 | // Public |
| 56 | // ========================================================================================= |
| 57 | ODBCDescriptor::ODBCDescriptor(Diagnostics& base_diagnostics, ODBCConnection* conn, |
| 58 | ODBCStatement* stmt, bool is_app_descriptor, |
| 59 | bool is_writable, bool is_2x_connection) |
| 60 | : diagnostics_(base_diagnostics.GetVendor(), |
| 61 | base_diagnostics.GetDataSourceComponent(), |
| 62 | arrow::flight::sql::odbc::OdbcVersion::V_3), |
| 63 | owning_connection_(conn), |
| 64 | parent_statement_(stmt), |
| 65 | array_status_ptr_(nullptr), |
| 66 | bind_offset_ptr_(nullptr), |
| 67 | rows_processed_ptr_(nullptr), |
| 68 | array_size_(1), |
| 69 | bind_type_(SQL_BIND_BY_COLUMN), |
| 70 | highest_one_based_bound_record_(0), |
| 71 | is_2x_connection_(is_2x_connection), |
| 72 | is_app_descriptor_(is_app_descriptor), |
| 73 | is_writable_(is_writable), |
| 74 | has_bindings_changed_(true) {} |
| 75 | |
| 76 | Diagnostics& ODBCDescriptor::GetDiagnosticsImpl() { return diagnostics_; } |
| 77 |
nothing calls this directly
no test coverage detected