2
0
forked from Wavyzz/dolibarr

Fix: Postgresql compatibility

This commit is contained in:
Laurent Destailleur
2010-11-16 20:14:29 +00:00
parent e0473cf043
commit 59c387192e
7 changed files with 144 additions and 153 deletions

View File

@@ -385,7 +385,7 @@ class DoliDb
$this->lastqueryerror = $query;
$this->lasterror = $this->error();
$this->lasterrno = $this->errno();
dol_syslog("Mysql.lib::query SQL error: ".$query, LOG_WARNING);
dol_syslog("Mysql.lib::query SQL error: ".$query." ".$this->lasterrno, LOG_WARNING);
}
$this->lastquery=$query;
$this->results = $ret;