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

Function SQLRowCount

cpp/src/arrow/flight/sql/odbc/odbc_api.cc:1256–1266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1254}
1255
1256SQLRETURN SQLRowCount(SQLHSTMT stmt, SQLLEN* row_count_ptr) {
1257 ARROW_LOG(DEBUG) << "SQLRowCount called with stmt: " << stmt
1258 << ", column_count_ptr: " << static_cast<const void*>(row_count_ptr);
1259
1260 using ODBC::ODBCStatement;
1261 return ODBCStatement::ExecuteWithDiagnostics(stmt, SQL_ERROR, [=]() {
1262 ODBCStatement* statement = reinterpret_cast<ODBCStatement*>(stmt);
1263 statement->GetRowCount(row_count_ptr);
1264 return SQL_SUCCESS;
1265 });
1266}
1267
1268SQLRETURN SQLTables(SQLHSTMT stmt, SQLWCHAR* catalog_name,
1269 SQLSMALLINT catalog_name_length, SQLWCHAR* schema_name,

Callers 1

TYPED_TESTFunction · 0.50

Calls 1

GetRowCountMethod · 0.80

Tested by 1

TYPED_TESTFunction · 0.40