/** * void _setLastError($code, $msg, $query) * Set last database error context. * Aditionally expand placeholders. */ protected function _setLastError($code, $msg, $query) { if (is_array($query)) { $this->_expandPlaceholders($query, false); $query = $query[0]; } return parent::_setLastError($code, $msg, $query); }