• unknown's avatar
    Bug# 20221- Dumping of multiple databases containing view(s) yields maleformed dumps. · 674636e7
    unknown authored
    
    client/mysqldump.c:
      When dumping more than one database, make sure that the proper database is selected before restoring that database's views.
      Replaced hard-coded database name length with appropiate token.
    mysql-test/r/mysqldump.result:
      Added new result and corrected results for existing test cases.
    mysql-test/t/mysqldump.test:
      Added new case for dumping and restoring multiple databases each containing a view.
    674636e7
mysqldump.test 36.9 KB