protected function dumpQuery($sql, $params)
 {
     echo "-- " . get_class($this) . " running a query...\n";
     if (method_exists($this->sqlRunner, 'quoteParams')) {
         echo $this->sqlRunner->quoteParams($sql, $params);
     } else {
         echo EarthIT_DBC_SQLExpressionUtil::queryToSql(EarthIT_DBC_SQLExpressionUtil::expression($sql, $params), EarthIT_DBC_DebugSQLQuoter::getInstance());
     }
 }
 protected function noise($sql, array $params)
 {
     $exp = EarthIT_DBC_SQLExpressionUtil::expression($sql, $params);
     $this->_noise(EarthIT_DBC_SQLExpressionUtil::queryToSql($exp, EarthIT_DBC_DebugSQLQuoter::getInstance()));
 }