1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-12 09:04:24 +02:00

Updated DibiFirebirdDriver & DibiMsSql2005Driver

This commit is contained in:
David Grudl
2009-10-13 17:02:26 +02:00
parent 4235b3564f
commit b00257c6b0
2 changed files with 5 additions and 15 deletions

View File

@@ -333,7 +333,7 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver
public function fetch($assoc)
{
DibiDriverException::tryError();
$result = $assoc ? ibase_fetch_assoc($this->resultSet) : ibase_fetch_row($this->resultSet); // intentionally @
$result = $assoc ? ibase_fetch_assoc($this->resultSet, IBASE_TEXT) : ibase_fetch_row($this->resultSet, IBASE_TEXT); // intentionally @
if (DibiDriverException::catchError($msg)) {
if (ibase_errcode() == self::ERROR_EXCEPTION_THROWN) {