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
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-08-15 14:08:23 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-08-15 14:08:23 +0400
commit3c3ba5016fedadf8089dfbb4290445180b4a47e5 (patch)
tree3f1da9b5281eafd28c273818694da636ba0c7d7c /plugins/DBStats
parentffdaa7eaa33ae696c25633574ff5d59fb6dc9d53 (diff)
Generalize method signature
Diffstat (limited to 'plugins/DBStats')
-rwxr-xr-xplugins/DBStats/MySQLMetadataProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/MySQLMetadataProvider.php b/plugins/DBStats/MySQLMetadataProvider.php
index 4e39d50887..e148ced563 100755
--- a/plugins/DBStats/MySQLMetadataProvider.php
+++ b/plugins/DBStats/MySQLMetadataProvider.php
@@ -286,7 +286,7 @@ class MySQLMetadataProvider
$columnType = substr($columnType, 0, $paren);
}
- $fixedSizeColumnLength += $this->sizeOfMySQLColumn($columnType);
+ $fixedSizeColumnLength += $this->getSizeOfDatabaseType($columnType);
}
}
// calculate the average row size
@@ -301,7 +301,7 @@ class MySQLMetadataProvider
}
/** Returns the size in bytes of a fixed size MySQL data type. Returns 0 for unsupported data type. */
- private function sizeOfMySQLColumn($columnType)
+ private function getSizeOfDatabaseType($columnType)
{
switch (strtolower($columnType)) {
case "tinyint":