fornwall opened a new pull request, #4469: URL: https://github.com/apache/arrow-adbc/pull/4469
Fixes #4468. `statement_execute_query` wrote `rows_affected` only on the update path (`out == NULL`). On the query path it left the caller's out-parameter untouched, so callers read back whatever they passed in. ADBC's `AdbcStatementExecuteQuery` contract (adbc.h) defines `rows_affected` as the row count if known, else -1; write that sentinel in the query branch. Adds a C-ABI regression test (via the dummy driver's exported vtable, since the Rust driver manager passes a NULL `rows_affected` for queries so the value is not observable through the high-level API). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
