summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/db.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/db.php b/lib/db.php
index 5224d5ee7da..7cc65673d10 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -440,6 +440,9 @@ class OC_DB {
$CONFIG_DBTABLEPREFIX = OC_Config::getValue( "dbtableprefix", "oc_" );
$CONFIG_DBTYPE = OC_Config::getValue( "dbtype", "sqlite" );
+ // cleanup the cached queries
+ self::$preparedQueries = array();
+
self::connectScheme();
// read file