• unknown's avatar
    Bug# 20221- Dumping of multiple databases containing view(s) yields maleformed dumps. · 1c242b0e
    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.
    1c242b0e
mysqldump.c 112 KB