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