Skip to content
Extraits de code Groupes Projets
Valider b91060e3 rédigé par mattab's avatar mattab
Parcourir les fichiers

fixes #6496 prevent mysql error

parent 13c771ee
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -24,6 +24,9 @@ class Model ...@@ -24,6 +24,9 @@ class Model
public function purgeInvalidatedArchiveTable($archiveTable) public function purgeInvalidatedArchiveTable($archiveTable)
{ {
// prevent error 'The SELECT would examine more than MAX_JOIN_SIZE rows'
Db::get()->query('SET SQL_BIG_SELECTS=1');
/** /**
* Select the archives that have already been invalidated and have been since re-processed. * Select the archives that have already been invalidated and have been since re-processed.
* It purges records for each distinct { archive name (includes segment hash) , idsite, date, period } tuple. * It purges records for each distinct { archive name (includes segment hash) , idsite, date, period } tuple.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter