• Sergey Glukhov's avatar
    Bug#43385 Cannot ALTER DATABASE ... UPGRADE DATA DIRECTORY NAME when Views exist · c4e6e28a
    Sergey Glukhov authored
    allow 'rename view' for ALTER ...UPGRADE DATA DIRECTORY NAME command.
    it's safe because a view has valid internal db&table names in this case.
    
    
    mysql-test/r/upgrade.result:
      test result
    mysql-test/t/upgrade.test:
      test case
    sql/sql_rename.cc:
      allow 'rename view' for ALTER ...UPGRADE DATA DIRECTORY NAME command.
      it's safe because a view has valid internal db&table names in this case.
    c4e6e28a
upgrade.result 3.36 KB