]> source.dussan.org Git - nextcloud-server.git/commitdiff
no statement caching for Oracle
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 22 Aug 2014 10:06:36 +0000 (12:06 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 22 Aug 2014 10:06:36 +0000 (12:06 +0200)
lib/private/db/connectionfactory.php

index 033065bcb77cab1c08c19c38f807357743f191af..dbbe58dbef899610919b06bf985314d3d916915c 100644 (file)
@@ -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;
        }