/**
  * Checks if the given query is a manipulation query. This also takes into
  * account the _next_query_manip flag and sets the _last_query_manip flag
  * (and resets _next_query_manip) according to the result.
  *
  * @param string The query to check.
  *
  * @return boolean true if the query is a manipulation query, false
  * otherwise
  *
  * @access protected
  */
 function _checkManip($query)
 {
     return preg_match('/^\\s*(SAVEPOINT|RELEASE)\\s+/i', $query) || parent::_checkManip($query);
 }