diff options
author | benakamoorthi <benaka.moorthi@gmail.com> | 2011-11-25 03:43:45 +0400 |
---|---|---|
committer | benakamoorthi <benaka.moorthi@gmail.com> | 2011-11-25 03:43:45 +0400 |
commit | f4ff556a9b1dbdba06ff612cd0d27e262e0dbd76 (patch) | |
tree | 9e9a664133ae77b9b361db1a0e131f5247e4394b /core/TablePartitioning.php | |
parent | 6622c83403e7c8e7aac1d6107509867bfe597b9a (diff) |
Refs #1077. Improved speed of the IndexedBySite archive type by optimizing the case when launching the archiving process is disabled. Instead of selecting archive IDs one at a time, IndexedBySite will now select them all at once.
Notes:
* Also added an integration test that will test whether Piwik works when archiving is disabled.
* Modified getKnownSegmentsToArchive() to cache its result as static function data instead of having ArchiveProcessing cache it as instance data.
* Changed several instance methods in ArchiveProcessing to static methods. These methods are responsible for determining if archiving is disabled.
* Removed meaningless idSite related code from TablePartitioning.
git-svn-id: http://dev.piwik.org/svn/trunk@5475 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/TablePartitioning.php')
-rw-r--r-- | core/TablePartitioning.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/TablePartitioning.php b/core/TablePartitioning.php index 7712e82b3a..5473d20a49 100644 --- a/core/TablePartitioning.php +++ b/core/TablePartitioning.php @@ -23,8 +23,7 @@ abstract class Piwik_TablePartitioning protected $tableName = null; protected $generatedTableName = null; protected $timestamp = null; - protected $idSite = null; - + static public $tablesAlreadyInstalled = null; public function __construct( $tableName ) @@ -40,11 +39,6 @@ abstract class Piwik_TablePartitioning $this->generatedTableName = null; $this->getTableName(); } - - public function setIdSite($idSite) - { - $this->idSite = $idSite; - } public function getTableName() { |