Skip to content

Commit df78aae

Browse files
committed
Update docs
1 parent 578ff41 commit df78aae

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ bool ODBCStatement::GetData(SQLSMALLINT record_number, SQLSMALLINT c_type,
737737

738738
void ODBCStatement::GetColumnCount(SQLSMALLINT* column_count_ptr) {
739739
if (!column_count_ptr) {
740-
// columnCountPtr is not valid, do nothing as ODBC spec does not mention this as an
741-
// error
740+
// column count pointer is not valid, do nothing as ODBC spec does not mention this as
741+
// an error
742742
return;
743743
}
744744
size_t column_count = ird_->GetRecords().size();

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ class ODBCStatement : public ODBCHandle<ODBCStatement> {
8080
bool GetData(SQLSMALLINT record_number, SQLSMALLINT c_type, SQLPOINTER data_ptr,
8181
SQLLEN buffer_length, SQLLEN* indicator_ptr);
8282

83-
/**
84-
* @brief Get number of columns from data set
85-
*/
83+
/// \brief Return number of columns from data set
8684
void GetColumnCount(SQLSMALLINT* column_count_ptr);
8785

8886
/**

0 commit comments

Comments
 (0)