function debug($level = self::DEBUG_ON) { parent::debug($level); if ($this->debugLevel & self::DEBUG_EXPLAIN && $this->isConnected) { $this->pdo->exec('SET TRACE ON'); } }
function debug($enable = true, $loggingResult = true, $loggingExplain = true) { parent::debug($enable = true, $loggingResult = true, $loggingExplain = true); if ($this->loggingExplain && $this->isConnected) { $this->pdo->exec('SET TRACE ON'); } }