Removed SQL string from call debug log

This commit is contained in:
Marcos García de La Fuente
2014-06-13 01:34:39 +02:00
parent 7e7958cf73
commit ca0a6cb307
45 changed files with 90 additions and 101 deletions

View File

@@ -506,9 +506,7 @@ class DoliDBPgsql extends DoliDB
$this->lasterror = $this->error();
$this->lasterrno = $this->errno();
}
dol_syslog(get_class($this)."::query SQL error usesavepoint = ".$usesavepoint." - ".$query." - ".pg_last_error($this->db)." => ".$this->errno(), LOG_ERROR);
//print "\n>> ".$query."<br>\n";
//print '>> '.$this->lasterrno.' - '.$this->lasterror.' - '.$this->lastqueryerror."<br>\n";
dol_syslog(get_class($this)."::query SQL error usesavepoint = ".$usesavepoint." - ".$this->lasterror." (".$this->lasterrno.")", LOG_ERROR);
if ($usesavepoint && $this->transaction_opened) // Warning, after that errno will be erased
{