How to change the value of "oracleClientLibDir" in dpiContextCreateParams struct
Closed this issue · 3 comments
Hello,
I want to customize the directory of Oracle Instant Client,How to operate?
Thanks
const char *dpiContextCreateParams.oracleClientLibDir
A null-terminated UTF-8 encoded string defining the location from which to load the Oracle Client library. If this value is not NULL it is the only location that is searched; otherwise, if this value is NULL the Oracle Client library is searched for in the usual fashion as noted in Oracle Client Library Loading. Also see that section for limitations on using this member.
i see ODPI-C doc can specify the directory. but i don't know how to assign it
It isn't available now. It will be supported at the next release.
I've done it about 5 months ago in a local branch but haven't merged it yet.
It isn't available now. It will be supported at the next release. I've done it about 5 months ago in a local branch but haven't merged it yet.
Thanks for your reply. For the time being, I solved my problem by changing the source code. During initialization, I passed in my own dpiContextCreateParams structure