You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "cdaudt (via GitHub)" <gi...@apache.org> on 2023/03/31 20:46:10 UTC

[GitHub] [arrow-adbc] cdaudt commented on pull request #570: fix (c/driver-manager): Protect against uninitialized AdbcError

cdaudt commented on PR #570:
URL: https://github.com/apache/arrow-adbc/pull/570#issuecomment-1492588817

   > 
   
   Hi - thanks for the feedback. The api defines this field as '[out]' and thus the caller should not expect that anything passed into the API will survive. e.g. here: [https://arrow.apache.org/adbc/main/cpp/api/adbc.html#_CPPv421AdbcConnectionReleaseP14AdbcConnectionP9AdbcError](AdbcConnectionRelease)
   But I do agree that while the driver manager is okay in that calls such as AdbcConnectionRelease are only called from the API clients, the same is not true in the actual drivers, where the same function is used both to provide the public API as well as the callback to the driver manager today. Will need to address that in equivalent changes to the drivers. 
   
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org