class_docstr: The Oracle MySQL lexer.
  
  This lexer does not attempt to maintain strict compatibility with
  MariaDB syntax or keywords. Although MySQL and MariaDB's common code
  history suggests there may be significant overlap between the two,
  compatibility between the two is not a target for this lexer.
class_docstr_tok: ["The","Oracle","MySQL","lexer",".","This","lexer","does","not","attempt","to","maintain","strict","compatibility","with","MariaDB","syntax","or","keywords",".","Although","MySQL","and","MariaDB","'s","common","code","history","suggests","there","may","be","significant","overlap","between","the","two",",","compatibility","between","the","two","is","not","a","target","for","this","lexer","."]
code: def analyse_text(text):
      rating = 0
      name_between_backtick_count = len(
          name_between_backtick_re.findall(text)
      )
      name_between_bracket_count = len(
          name_between_bracket_re.findall(text)
      )
      # Same logic as above in the TSQL analysis
      dialect_name_count = (
          name_between_backtick_count + name_between_bracket_count
      )
      if (
          dialect_name_count >= 1
          and name_between_backtick_count
          >= 2 * name_between_bracket_count
      ):
          # Found at least twice as many `name` as [name].
          rating += 0.5
      elif name_between_backtick_count > name_between_bracket_count:
          rating += 0.2
      elif name_between_backtick_count > 0:
          rating += 0.1
      return rating
  
imports: import re
  from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
  from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
  from pygments.lexers import get_lexer_by_name, ClassNotFound
  from pygments.lexers._postgres_builtins import KEYWORDS, DATATYPES, PSEUDO_TYPES, PLPGSQL_KEYWORDS, EXPLAIN_KEYWORDS
  from pygments.lexers._mysql_builtins import MYSQL_CONSTANTS, MYSQL_DATATYPES, MYSQL_FUNCTIONS, MYSQL_KEYWORDS, MYSQL_OPTIMIZER_HINTS
  from pygments.lexers import _tsql_builtins
label_desc: Use image node_id 1 for calling the MySqlLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: rating