From 68a38804b895cb10a30dd9e0815955c39e32fd1b Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 18 Jul 2016 10:07:55 +0000 Subject: [PATCH] dblayer : in debug, display the request in directRead git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2893 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dblayer.php b/dblayer.php index 03fae1f..1334c5b 100644 --- a/dblayer.php +++ b/dblayer.php @@ -1324,6 +1324,8 @@ class dblayer public function directRead ($sql) { if ($this->debug) echo "== Entering directRead\n"; + if ($this->debug) + echo "$sql\n"; $st = self::$instance[$this->dsn]->prepare ($sql); $st->execute (); $res = array ();