Jelajahi Sumber

added DBG_SQL

Piotr Labudda 9 tahun lalu
induk
melakukan
16c731b2dc
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      SE/se-lib/Core/Pdo.php

+ 2 - 0
SE/se-lib/Core/Pdo.php

@@ -418,12 +418,14 @@ EOF_STRUCT_MYSQL;
 	}
 
 	public function fetchAll($sql) {
+		DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
 		$sth = $this->prepare($sql);
 		$sth->execute();
 		return $sth->fetchAll();
 	}
 
 	public function fetchAllByKey($sql, $key = 'ID') {
+		DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
 		$rowsByKey = array();
 		$sth = $this->prepare($sql);
 		$sth->execute();