Skip to content

Commit

Permalink
multiple connections bugfix
Browse files Browse the repository at this point in the history
git-svn-id: svn://dklab.ru/lib/DbSimple/trunk@247 78bb956b-1e24-0410-b8d0-c528fdc9eae3
  • Loading branch information
dk committed Aug 18, 2008
1 parent aeb0221 commit 88f089d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DbSimple/Mysql.php
Expand Up @@ -178,7 +178,7 @@ function _performFetch($result)

function _setDbError($query)
{
return $this->_setLastError(mysql_errno(), mysql_error(), $query);
return $this->_setLastError(mysql_errno($this->link), mysql_error($this->link), $query);
}


Expand Down

0 comments on commit 88f089d

Please sign in to comment.