diff options
author | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-08-15 14:08:23 +0400 |
---|---|---|
committer | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-08-15 14:08:23 +0400 |
commit | 3c3ba5016fedadf8089dfbb4290445180b4a47e5 (patch) | |
tree | 3f1da9b5281eafd28c273818694da636ba0c7d7c /plugins/DBStats | |
parent | ffdaa7eaa33ae696c25633574ff5d59fb6dc9d53 (diff) |
Generalize method signature
Diffstat (limited to 'plugins/DBStats')
-rwxr-xr-x | plugins/DBStats/MySQLMetadataProvider.php | 4 |
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": |