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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-08 15:36:10 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-08 15:36:10 +0300
commit1129e150089dd68542daaac334208243b4dc8d7a (patch)
treec13145a210864735a6e9a117fed4c4ec0cd4b28e /plugins/DBStats
parent20d1b5a2f9ba8a9559bde00b770c16c81ba78b31 (diff)
fix mysqli prepare error; make it clear that this is stats for MySQL
Diffstat (limited to 'plugins/DBStats')
-rw-r--r--plugins/DBStats/API.php2
-rw-r--r--plugins/DBStats/DBStats.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/API.php b/plugins/DBStats/API.php
index cb7618a908..3c8bd71b14 100644
--- a/plugins/DBStats/API.php
+++ b/plugins/DBStats/API.php
@@ -50,7 +50,7 @@ class Piwik_DBStats_API
Piwik::checkUserIsSuperUser();
$db = Zend_Registry::get('db');
// http://dev.mysql.com/doc/refman/5.1/en/show-table-status.html
- $tables = $db->fetchAll("SHOW TABLE STATUS LIKE ?", $table);
+ $tables = $db->fetchAll("SHOW TABLE STATUS LIKE '". $table."'");
if ($field == '')
{
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php
index 58c7c6b967..e318cdc7e9 100644
--- a/plugins/DBStats/DBStats.php
+++ b/plugins/DBStats/DBStats.php
@@ -20,7 +20,7 @@ class Piwik_DBStats extends Piwik_Plugin
{
return array(
'name' => 'Database statistics',
- 'description' => 'This plugin reports the database usage by Piwik tables.',
+ 'description' => 'This plugin reports the MySQL database usage by Piwik tables.',
'author' => 'Piwik',
'homepage' => 'http://piwik.org/',
'version' => '0.1',