• unknown's avatar
    BUG#10927 mysqldump: Can't reload dump with view that consist of other view · 1f86e13c
    unknown authored
    - Create a small dummy table that will take care of the problem of creating a view dependent of another view which hasn't yet been created.
    
    
    client/mysqldump.c:
      Create a dummy table for the view. ie. a table  which has the
      same columns as the view should have. This table is dropped
      just before the view is created. The table is used to handle the
      case where a view references another view, which hasn't yet been
      created(during the load of the dump).
    mysql-test/r/mysqldump.result:
      Add tests for bug#10927
    mysql-test/t/mysqldump.test:
      Add tests for bug#10927
    1f86e13c
mysqldump.result 75.4 KB