Wrong client version in OCIVersion
Posted: Thu 05 Jul 2012 11:52
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.
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.