summaryrefslogtreecommitdiff
path: root/lib/LuaOCCI.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaOCCI.cc')
-rw-r--r--lib/LuaOCCI.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LuaOCCI.cc b/lib/LuaOCCI.cc
index 8bd507b..9fa9332 100644
--- a/lib/LuaOCCI.cc
+++ b/lib/LuaOCCI.cc
@@ -238,7 +238,7 @@ int sLua_EncapOCCI_Environment::EncapOCCI_Environment_proceed_statics(Lua * L, i
try {
switch (caller) {
case ENVIRONMENT_CREATEENVIRONMENT:
- env = new EncapOCCI_Environment(Environment::createEnvironment(Environment::DEFAULT));
+ env = new EncapOCCI_Environment(Environment::createEnvironment(Environment::THREADED_MUTEXED));
if (!global_env) {
global_env = env->Get();
}