diff --git a/SeedDMS_Core/Core/inc.DBAccessPDO.php b/SeedDMS_Core/Core/inc.DBAccessPDO.php index 336339a23..ff0776588 100644 --- a/SeedDMS_Core/Core/inc.DBAccessPDO.php +++ b/SeedDMS_Core/Core/inc.DBAccessPDO.php @@ -217,7 +217,7 @@ class SeedDMS_Core_DatabaseAccess { $this->_ttcontentid = false; $this->_ttreceiptid = false; $this->_ttrevisionid = false; - $this->_useviews = true; + $this->_useviews = false; // turn off views, because they are much slower then temp. tables $this->_debug = false; } /* }}} */ diff --git a/SeedDMS_Core/package.xml b/SeedDMS_Core/package.xml index 5f83e1e04..f9670dd16 100644 --- a/SeedDMS_Core/package.xml +++ b/SeedDMS_Core/package.xml @@ -31,6 +31,8 @@ add lists of drafts and obsolete docs in SeedDMS_Core_DMS::getDocumentList() add fast sql statement to SeedDMS_Core_Document::getReceiptStatus() if limit=1 add callback onCheckAccessDocument to SeedDMS_Core_Document::getAccessMode() add new document status 'needs correction' (S_NEEDS_CORRECTION) +do not use views as a replacement for temp. tables anymore, because they are much +slower.