Example #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);
     }
 }
Example #2
0
File: MyDBD.php Project: rs/mydbd
 protected function handleErrors($query = null)
 {
     if ($this->link->errno) {
         MyDBD_Error::throwError($this->link->errno, $this->link->error, $this->link->sqlstate, $query);
     }
 }