From 2e0d9ae129f32dc325eb73046427ce27be33d0d4 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 17 Sep 2019 09:59:42 +0000 Subject: [PATCH] dblayeroo : debugLog must have two parameters git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5488 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dblayeroo.php b/dblayeroo.php index 2d719de..3b6fbe9 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -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":