ODAC 8.2.7 uses function OCIClientVersion in "OraCall.pas".
But checks its return value (<> OCI_SUCCESS).
"VersionAr" contains the right values (for example 11 2 0 3 0) but they are discarded.
Instead it calls GetFileVersion and shows 11.2.0.1.0 (which is wrong for client 11.2.0.3.0).
Oracle documentation and metalink note 363381.1 don't mention to check result of OCIClientVersion.
Wrong client version in OCIVersion
Re: Wrong client version in OCIVersion
hello,
Unfortunately, Oracle documentation has a mistake. If to look at the ociap.h header file, you can find that the OCIClientVersion function is declared as void
therefore we will change the retrieving of the Oracle client version in the next build.
P.S. The library file version doesn't agree with the real client version.
Unfortunately, Oracle documentation has a mistake. If to look at the ociap.h header file, you can find that the OCIClientVersion function is declared as void
Code: Select all
/*----------------------- OCIClientVersion ------------------------------*/
void OCIClientVersion(sword *major_version,
sword *minor_version,
sword *update_num,
sword *patch_num,
sword *port_update_num);
/*----------------------- End OCIClientVersion --------------------------*/P.S. The library file version doesn't agree with the real client version.
Re: Wrong client version in OCIVersion
hello,
We've fixed this behaviour and this fix will be included in the next build.
We've fixed this behaviour and this fix will be included in the next build.