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

Function SQLMoreResults

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

Source from the content-addressed store, hash-verified

1229}
1230
1231SQLRETURN SQLMoreResults(SQLHSTMT stmt) {
1232 ARROW_LOG(DEBUG) << "SQLMoreResults called with stmt: " << stmt;
1233
1234 using ODBC::ODBCStatement;
1235 // Multiple result sets are not supported by Arrow protocol. Return SQL_NO_DATA by
1236 // default to indicate no data is available.
1237 return ODBCStatement::ExecuteWithDiagnostics(stmt, SQL_ERROR, [=]() {
1238 ODBCStatement* statement = reinterpret_cast<ODBCStatement*>(stmt);
1239 return statement->GetMoreResults();
1240 });
1241}
1242
1243SQLRETURN SQLNumResultCols(SQLHSTMT stmt, SQLSMALLINT* column_count_ptr) {
1244 ARROW_LOG(DEBUG) << "SQLNumResultCols called with stmt: " << stmt

Callers 1

TYPED_TESTFunction · 0.50

Calls 1

GetMoreResultsMethod · 0.80

Tested by 1

TYPED_TESTFunction · 0.40