• unknown's avatar
    Bug #32063 "create table like" works case-significant only in "embedded" server (libmysqld) · 06323c2b
    unknown authored
    in mysql_creata_like_table() we 'downcase' the complete path to the
    .frm file. It works fine in standalone case as there usually
    we only have './' as a path to the datahome, but doesn't work in
    the embedded server where we add the real path there, so if a
    directory has uppercase letters in it's name, it won't be found.
    
    Fixed by 'downcasing' only database/table pair.
    
    
    sql/sql_table.cc:
      Bug #32063 "create table like" works case-significant only in "embedded" server (libmysqld)
      
      do not lowercase the database directory
    06323c2b
sql_table.cc 109 KB