mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
cached queries need to be reset on schema change because they become invalid
fixes: https://github.com/owncloud/apps/issues/468
This commit is contained in:
parent
ebc0c4b85b
commit
dea77b7610
@ -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
Block a user