Allow events mode to be set in Oracle 10g as well.

This commit is contained in:
Anthony Tuininga 2009-01-07 20:30:10 +00:00
parent b32352b54c
commit e00d8dc231

View File

@ -111,7 +111,7 @@ static udt_Environment *Environment_NewFromScratch(
mode = OCI_OBJECT;
if (threaded)
mode |= OCI_THREADED;
#ifdef ORACLE_11G
#ifdef OCI_EVENTS
if (events)
mode |= OCI_EVENTS;
#endif