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