dblayer : in debug, display the request in directRead
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2893 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1324,6 +1324,8 @@ class dblayer
|
|||||||
public function directRead ($sql)
|
public function directRead ($sql)
|
||||||
{
|
{
|
||||||
if ($this->debug) echo "== Entering directRead\n";
|
if ($this->debug) echo "== Entering directRead\n";
|
||||||
|
if ($this->debug)
|
||||||
|
echo "$sql\n";
|
||||||
$st = self::$instance[$this->dsn]->prepare ($sql);
|
$st = self::$instance[$this->dsn]->prepare ($sql);
|
||||||
$st->execute ();
|
$st->execute ();
|
||||||
$res = array ();
|
$res = array ();
|
||||||
|
|||||||
Reference in New Issue
Block a user