• Sergey Glukhov's avatar
    Bug#43385 Cannot ALTER DATABASE ... UPGRADE DATA DIRECTORY NAME when Views exist · bb08984f
    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.
    bb08984f
sql_rename.cc 10.3 KB