dblayeroo : debugLog must have two parameters

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5488 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-09-17 09:59:42 +00:00
parent affa15e365
commit 2e0d9ae129

View File

@@ -2544,7 +2544,7 @@ class dblayeroo
$tmpValues[$key] = $val;
$tmpType[md5 ("$key, $val")] = $this->fieldTypeLight ($key);
$this->debugLog ("setValues : Type for $key = ".
$this->fieldTypeLight ($key));
$this->fieldTypeLight ($key), 1);
}
$this->setValues = $tmpValues;
$this->setType = $tmpType;
@@ -3247,7 +3247,7 @@ class dblayeroo
$sql = $this->createRequest ();
$this->debugLog ("Entering prepareRequest (XXX, ",false,")", 2);
$st = $this->prepareRequest ($sql, false);
$this->debugLog ("'", $this->getDisplayQuery (), "'");
$this->debugLog ("'", $this->getDisplayQuery (), "'", 1);
$startTime = microtime (true);
$st->execute ();
switch ($this->command)
@@ -3402,7 +3402,7 @@ class dblayeroo
$autoInc = $this->table."_${col}_seq";
}
$this->debugLog ("INSERT: lastInsertId=",
self::$instance[$this->dsn]->lastInsertId ($autoInc));
self::$instance[$this->dsn]->lastInsertId ($autoInc), 1);
return self::$instance[$this->dsn]->lastInsertId ($autoInc);
case "UPDATE":
case "DELETE":