Performance optimizations

This commit is contained in:
Frank Schubert
2022-02-16 00:10:43 +01:00
parent 8a200da3f0
commit e61ffa652e
4 changed files with 47 additions and 10 deletions
+7
View File
@@ -62,7 +62,14 @@ class FronkDB {
}
if(FRONKDB_SQLDEBUG==true) {
/*$this->log->debug("[FronkDB] ================");
$this->log->debug("[FronkDB] START SQL QUERY");
$bt = debug_backtrace();
foreach($bt as $n => $b) {
$this->log->debug($n.") ".$b["file"]."(".$b['line']."): ".$b['class']."->".$b['function']."()" );
}*/
$this->log->debug("[FronkDB] $sql");
//$this->log->debug("[FronkDB] END SQL QUERY");
//echo "$sql\n";
}