diff options
author | robocoder <anthon.pang@gmail.com> | 2009-09-19 21:32:59 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-09-19 21:32:59 +0400 |
commit | edcb358e2571bb148d26a8c93a0f44d6a57e2ad6 (patch) | |
tree | 45946d38d3cde07bf87278d473a30a114e53d5f5 /core/Tracker/Db.php | |
parent | 3b2a633658fe047e1c77354921e0dfa1132207bb (diff) |
refs #904 - mysql error codes
git-svn-id: http://dev.piwik.org/svn/trunk@1475 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Tracker/Db.php')
-rw-r--r-- | core/Tracker/Db.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Tracker/Db.php b/core/Tracker/Db.php index 193c1a71a5..01291712d1 100644 --- a/core/Tracker/Db.php +++ b/core/Tracker/Db.php @@ -184,8 +184,9 @@ abstract class Piwik_Tracker_Db /** * Test error number * + * @param Exception $e * @param string $errno * @return bool True if error number matches; false otherwise */ - abstract public function isErrNo($errno); + abstract public function isErrNo($e, $errno); } |