Skip to content
Snippets Groups Projects
Commit b0716ba0 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #1247 from owncloud/clear-queries-cache-on-schema-change-master

cached queries need to be reset on schema change because they become inv...
parents ebc0c4b8 dea77b76
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment