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

Method GetRowCount

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.cc:801–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

799}
800
801void ODBCStatement::GetRowCount(SQLLEN* row_count_ptr) {
802 if (!row_count_ptr) {
803 // row count pointer is not valid, do nothing as ODBC spec does not mention this as an
804 // error
805 return;
806 }
807 // Will always be -1 (meaning number of rows unknown) since only SELECT is supported by
808 // driver
809 *row_count_ptr = -1;
810}
811
812void ODBCStatement::ReleaseStatement() {
813 CloseCursor(true);

Callers 1

SQLRowCountFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected