1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 14:16:39 +02:00

BIG REFACTORING!

* DibiDriver -> DibiConnection
This commit is contained in:
David Grudl
2007-11-12 06:41:59 +00:00
parent ea00d5d37d
commit 22c27f678a
16 changed files with 1052 additions and 1335 deletions

View File

@@ -67,11 +67,7 @@ class DibiDatabaseException extends DibiException
public function __toString()
{
$s = parent::__toString();
if ($this->sql) {
$s .= "\nSQL: " . $this->sql;
}
return $s;
return parent::__toString() . ($this->sql ? "\nSQL: " . $this->sql : '');
}