Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/Db
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-12 07:00:30 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-12 07:00:30 +0400
commit459d8c0994f3c36881b829532bd875ab0e25153f (patch)
tree69d2ce5b212162c4ac25d5e12b0971cc81172d45 /core/Db
parentc6b1c7c6e6c48a98dd1ffc20a0eb8a82ab1cabe8 (diff)
this might the ui tests work again, somehow the database gets changed but the tracker cache does not get noticed. So make sure to clear tracker cache before running an update on the database to make sure it will always compare all dimension columns and check whether they need to be installed
Diffstat (limited to 'core/Db')
-rw-r--r--core/Db/Schema/Mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Db/Schema/Mysql.php b/core/Db/Schema/Mysql.php
index 76c7f17ce7..04b8397894 100644
--- a/core/Db/Schema/Mysql.php
+++ b/core/Db/Schema/Mysql.php
@@ -324,7 +324,7 @@ class Mysql implements SchemaInterface
$fields = array();
foreach ($allColumns as $column) {
- $fields[$column['Field']] = $column;
+ $fields[trim($column['Field'])] = $column;
}
return $fields;