From 0d50cab35635c6c259bedf29a98f291a79ad7aef Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 7 Jul 2011 19:46:11 +0000 Subject: [PATCH] 2011-07-07 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/sddoci/sddoci.c ! added OCI_ENV_THREADED flag to OCI_Initialize() in an attempt to solve MT problems reported by Marek. Many thanks to Vincent Rogier (author of OCILIB) for the tip and advice. Please retest now. --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/sddoci/sddoci.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 559f0d3276..f1d83dafc1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,14 @@ The license applies to all entries newer than 2009-04-28. */ +2011-07-07 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/sddoci/sddoci.c + ! added OCI_ENV_THREADED flag to OCI_Initialize() in an attempt + to solve MT problems reported by Marek. + Many thanks to Vincent Rogier (author of OCILIB) for the tip + and advice. + Please retest now. + 2011-07-06 00:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwin/gtwin.c ! using HB_ prefixed name for locally defined diff --git a/harbour/contrib/sddoci/sddoci.c b/harbour/contrib/sddoci/sddoci.c index d2a1c309ca..2ec352c245 100644 --- a/harbour/contrib/sddoci/sddoci.c +++ b/harbour/contrib/sddoci/sddoci.c @@ -133,7 +133,7 @@ static void hb_ocidd_init( void * cargo ) { HB_SYMBOL_UNUSED( cargo ); - OCI_Initialize( NULL, NULL, OCI_ENV_DEFAULT | OCI_ENV_CONTEXT ); + OCI_Initialize( NULL, NULL, OCI_ENV_DEFAULT | OCI_ENV_CONTEXT | OCI_ENV_THREADED ); if( ! hb_sddRegister( &ocidd ) ) {