From b8b2ef8748cfee9cce9cad9360a669d90fe3f408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 22 Aug 2014 12:06:36 +0200 Subject: [PATCH] no statement caching for Oracle --- lib/private/db/connectionfactory.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php index 033065bcb7..dbbe58dbef 100644 --- a/lib/private/db/connectionfactory.php +++ b/lib/private/db/connectionfactory.php @@ -102,6 +102,11 @@ class ConnectionFactory { /** @var $connection \OC\DB\Connection */ $connection->disableQueryStatementCaching(); break; + case 'oci': + // oracle seems to have issues with cached statements which have been closed + /** @var $connection \OC\DB\Connection */ + $connection->disableQueryStatementCaching(); + break; } return $connection; }