summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-22 12:06:36 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-22 12:06:36 +0200
commitb8b2ef8748cfee9cce9cad9360a669d90fe3f408 (patch)
treea2217edafb1d8ad9acd97e3983443dbb2a75ced1 /lib
parent8f201c7383d221ac71b9ba7761c15bec583bd93d (diff)
downloadnextcloud-server-b8b2ef8748cfee9cce9cad9360a669d90fe3f408.tar.gz
nextcloud-server-b8b2ef8748cfee9cce9cad9360a669d90fe3f408.zip
no statement caching for Oracle
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db/connectionfactory.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index 033065bcb77..dbbe58dbef8 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;
}