summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorMark Newnham <mark@newnhams.com>2013-08-13 08:28:41 -0600
committerDamien Regad <dregad@mantisbt.org>2013-08-13 23:48:37 +0200
commit2fa9291f11ab20c3063175d5ab4b8c9260936aec (patch)
treeab34c9d6c5c8f637764a3dbf5fab960f9a4f9fdb /perf
parent36dc2c5f733c1f642830be6d1f5866841dda7cf8 (diff)
downloadadodb-2fa9291f11ab20c3063175d5ab4b8c9260936aec.tar.gz
adodb-2fa9291f11ab20c3063175d5ab4b8c9260936aec.tar.bz2
adodb-2fa9291f11ab20c3063175d5ab4b8c9260936aec.zip
Method declaration did not match parent::Tables
Was throwing error with E_STRICT. Fixes #1
Diffstat (limited to 'perf')
-rw-r--r--perf/perf-db2.inc.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/perf/perf-db2.inc.php b/perf/perf-db2.inc.php
index 71a91736..7bf33941 100644
--- a/perf/perf-db2.inc.php
+++ b/perf/perf-db2.inc.php
@@ -90,8 +90,13 @@ class perf_db2 extends adodb_perf{
return $s;
}
-
- function Tables()
+ /**
+ * Gets a list of tables
+ *
+ * @param int $throwaway A discarded variable to match the parent method
+ * @return str The formatted table list
+ */
+ function Tables($throwaway=0)
{
$rs = $this->conn->Execute("select tabschema,tabname,card as rows,
npages pages_used,fpages pages_allocated, tbspace tablespace
@@ -99,4 +104,4 @@ class perf_db2 extends adodb_perf{
return rs2html($rs,false,false,false,false);
}
}
-?> \ No newline at end of file
+?>