• Alexander Barkov's avatar
    MDEV-31954 Cleanup in check_table_name() and check_db_name() · 8528eacc
    Alexander Barkov authored
    - Renaming the parameter `check_for_path_char` to a more
      self-descriptive `disallow_path_chars`
    - Renaming the variable `name_length` in check_table_name()
      to a more self-descriptive `char_length`.
    - Fix the `while` loop in check_table_name() into a
      `for` loop and replace multiple {{char_length++}}
      (the former {{name_length++}}) statements to a signle increment
      statement in the `for` loop header.
    8528eacc
table.cc 322 KB