From 5126c7456ee4b003443f4edccf8b29ece3ac18a3 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Thu, 12 Jan 2017 11:50:47 -0700 Subject: [PATCH] Enable statement caching to improve performance. --- Connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.c b/Connection.c index f5aa2ed..7cd1605 100644 --- a/Connection.c +++ b/Connection.c @@ -899,7 +899,7 @@ static int Connection_Init( // parse arguments pool = NULL; handle = NULL; - connectMode = OCI_DEFAULT; + connectMode = OCI_STMT_CACHE; threadedObj = twophaseObj = eventsObj = newPasswordObj = NULL; usernameObj = passwordObj = dsnObj = cclassObj = editionObj = NULL; moduleObj = actionObj = clientinfoObj = NULL;