dblayeroo : debugLog must have the priority

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5510 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-09-19 13:05:35 +00:00
parent 7337eb2b38
commit 0ba1f17601

View File

@@ -685,7 +685,7 @@ class dblayeroo
"PDO Engine not supported in dbLayeroo"), 500); "PDO Engine not supported in dbLayeroo"), 500);
} }
$this->debugLog ($sql); $this->debugLog ($sql, 1);
return self::$instance[$this->dsn]->exec ($sql); return self::$instance[$this->dsn]->exec ($sql);
} }
/* }}} */ /* }}} */
@@ -702,7 +702,7 @@ class dblayeroo
throw new \Exception (dgettext ("domframework", throw new \Exception (dgettext ("domframework",
"No table name defined to drop the table"), 500); "No table name defined to drop the table"), 500);
$sql = "DROP TABLE $this->sep$this->tableprefix$this->table$this->sep"; $sql = "DROP TABLE $this->sep$this->tableprefix$this->table$this->sep";
$this->debugLog ($sql); $this->debugLog ($sql, 1);
return self::$instance[$this->dsn]->exec ($sql); return self::$instance[$this->dsn]->exec ($sql);
} }
/* }}} */ /* }}} */