cdaudt commented on code in PR #570:
URL: https://github.com/apache/arrow-adbc/pull/570#discussion_r1154952119
##########
c/driver_manager/adbc_driver_manager.cc:
##########
@@ -597,6 +628,7 @@ AdbcStatusCode AdbcStatementSetSqlQuery(struct
AdbcStatement* statement,
AdbcStatusCode AdbcStatementSetSubstraitPlan(struct AdbcStatement* statement,
const uint8_t* plan, size_t
length,
struct AdbcError* error) {
+ AdbcErrorInit(error);
Review Comment:
After seeing @kou comments below I'll rename the fn to AdbcErrorReset and
check for null as well.
--
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]