• unknown's avatar
    Bug#21370: View renaming lacks tablename_to_filename encoding · 81eb1ccd
    unknown authored
      Problem: renaming of FRM file and ARC files didn't use file name
      encoding, so RENAME TABLE for views failed for views having
      "tricky" characters in their names.
      Fix: adding build_table_filename() in missing places.
    
    
    mysql-test/r/view.result:
      Adding test case
    mysql-test/t/view.test:
      Adding test case
    sql/parse_file.cc:
      Adding build_table_filename()
    sql/sql_view.cc:
      Adding build_table_filename()
    81eb1ccd
sql_view.cc 51.5 KB