Beispiel #1
0
 protected function handleErrors($query = null, $params = null)
 {
     if ($this->stmt->errno) {
         MyDBD_Error::throwError($this->stmt->errno, $this->stmt->error, null, $query, $params);
     }
 }
Beispiel #2
0
 protected function handleErrors($query = null)
 {
     if ($this->link->errno) {
         MyDBD_Error::throwError($this->link->errno, $this->link->error, $this->link->sqlstate, $query);
     }
 }