Skip to content
Extraits de code Groupes Projets
Valider 4525e579 rédigé par Fabian Becker's avatar Fabian Becker
Parcourir les fichiers

Fix syntax error from last build

parent 1b336b81
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -108,7 +108,7 @@ class ArchiveWriter ...@@ -108,7 +108,7 @@ class ArchiveWriter
try { // TODO: this is temporary, remove when deadlocking issue is fixed try { // TODO: this is temporary, remove when deadlocking issue is fixed
$db->exec($insertSql); $db->exec($insertSql);
} catch (Exception $ex) { } catch (Exception $ex) {
if (\Zend_Registry::get('db')->isErrNo($e, 1213)) { if (\Zend_Registry::get('db')->isErrNo($ex, 1213)) {
$deadlockInfo = \Piwik\Db::fetchAll("SHOW ENGINE INNODB STATUS"); $deadlockInfo = \Piwik\Db::fetchAll("SHOW ENGINE INNODB STATUS");
Piwik::log("DEADLOCK INFO: " . print_r($deadlockInfo)); Piwik::log("DEADLOCK INFO: " . print_r($deadlockInfo));
} }
...@@ -268,4 +268,4 @@ class ArchiveWriter ...@@ -268,4 +268,4 @@ class ArchiveWriter
{ {
return ($value === '0' || $value === false || $value === 0 || $value === 0.0); return ($value === '0' || $value === false || $value === 0 || $value === 0.0);
} }
} }
\ No newline at end of file
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