• Alexander Barkov's avatar
    MDEV-31978 Turn ok_for_lower_case_names() to a method in Lex_ident_fs · ebbf5662
    Alexander Barkov authored
    - Changing the global function ok_for_lower_case_names()
      into a method in class Lex_ident_fs.
    
    - Changing a few functions/methods to get the database name
      as a "const LEX_CSTRING" instead of a "const char *".
      All these functions/methods use ok_for_lower_case_names()
      inside. This change helps to avoid new strlen() calls, and also
      removes a few old strlen() calls.
    ebbf5662
lex_ident.h 2.08 KB