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

Method TrackRecord

cpp/src/arrow/flight/sql/odbc/odbc_impl/diagnostics.h:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 inline void TrackRecord(const DiagnosticsRecord& record) {
58 if (record.sql_state[0] == '0' && record.sql_state[1] == '1') {
59 warning_records_.push_back(&record);
60 } else {
61 error_records_.push_back(&record);
62 }
63 }
64
65 void SetDataSourceComponent(std::string component);
66 std::string GetDataSourceComponent() const;

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected