Kubo Takehiro

Results 127 comments of Kubo Takehiro

@robin1607 Could you post sample code to reproduce the issue?

Could you change the return type from `json_objec_t` to `varchar2` or `clob`? Ruby-oci8 converts object type attribute values to ruby values. However there are no methods to convert opaque types....

Could you run the following one liner? If your script loads a ldap library before requiring oci8, it may cause unexpected behaviour by function interposition. ``` shell ruby -roci8 -e...

No response. Can I close this issue? I know nothing about LDAP. I cannot build LDAP auth environment to check the issue.

See http://stackoverflow.com/questions/15205743/link-to-specific-oracle-instant-client-dynamic-library-on-os-x/15322554#15322554 Perhaps it is caused by same reason.

@EvanGranthamBrown What OS do you use? If it is Linux, could you post the output of the following command or send it to [email protected]? ``` env LD_DEBUG=all ruby not_working_script.rb ```...

It is indeed function interposition. ``` 17022: binding file /usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1 [0] to /lib64/libldap_r-2.4.so.2 [0]: normal symbol `ldap_open' ``` ldap_open is in both libclntsh.so.11.1 and libldap_r-2.4.so.2. Though libclntsh.so.11.1 should use ldap_open...

I made a document about LDAP auth. http://www.rubydoc.info/github/kubo/ruby-oci8/file/docs/ldap-auth-and-function-interposition.md I'll close this issue after I add solution using DLOPEN_FLAGS. As far as I checked (RTLD_NOW|RTLD_LOCAL) does the trick only on limited...

> For each row, the value handles are duplicated - is there any specific reason for this? If there is, than the following is probably wrong and I'd have to...

As for performance, could you use query methods with `_as` suffix instead of ones without `_as`? See [this document](https://github.com/kubo/rust-oracle/blob/master/docs/query-methods.md#with-and-without-_as). I updated it just before to recommend the [`RowValue`](https://docs.rs/oracle/latest/oracle/derive.RowValue.html) derive macro...