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...
This commit is contained in:
commit
b0716ba0e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue