diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-20 02:28:39 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-20 02:28:39 +0300 |
commit | 0f5f79e2605315678d78d6214471aebe91af2102 (patch) | |
tree | 7b82fcf18de07c3d81280dae9ad13af607cd4c7f | |
parent | 5231d5703bd6fa690d86c21e6b5d6afc225242e8 (diff) |
Fixes #6696 Prevent this mysql error from occuring during updates - @tsteur will ask user for more info in case there really is a bug
-rw-r--r-- | core/Updates/2.9.0-b7.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Updates/2.9.0-b7.php b/core/Updates/2.9.0-b7.php index 1efcf8360c..110545aaa8 100644 --- a/core/Updates/2.9.0-b7.php +++ b/core/Updates/2.9.0-b7.php @@ -47,7 +47,8 @@ class Updates_2_9_0_b7 extends Updates } $query = self::getQueryToCreateSequence($table, $maxId); - $sql[$query] = false; + // refs #6696, ignores Integrity constraint violation: 1062 Duplicate entry 'piwik_archive_numeric_2010_01' for key 'PRIMARY' + $sql[$query] = '1062'; } } |