Hello Anthony,
Thanks for this new release of cx_Oracle.
However, I am surprised by this change:
#ifdef OCI_ATTR_MODULE
#define ORACLE_10G
#elif OCI_FNCODE_STMTRELEASE
#define ORACLE_9I
#endif
This implies that with Oracle 10, session pools and timestamps=20
are no more available... I don't think this was intended.
I can see two possible workarounds:
- When compiling with Oracle 10, both ORACLE_10G and ORACLE_9I=20
are defined. This is what I have done in my local copy.
- We could change the define to look like a version number:
#ifdef OCI_ATTR_MODULE
#define CX_OCI_VERSION 1000
#elif OCI_FNCODE_STMTRELEASE
#define CX_OCI_VERSION 901
#else
#define CX_OCI_VERSION 815
#endif
And use it this way:
#if CX_OCI_VERSION >=3D 901
...session pools...
#endif
Just to keep
--=20
Amaury Forgeot d'Arc
Ubix Development
www.ubitrade.com
|