• pgalbraith@mysql.com's avatar
    This cset fixes BUG# 12838, 14061, 12129 · feca138e
    pgalbraith@mysql.com authored
    mysqldump.result:
      BUG# 12838
          New test results for mysqldump -x on a DB with views
    mysqldump.test:
      sqldump.test:
          BUG# 12838
          New test to run mysqldump -x on a DB with views
    mysqldump.c:
      BUG# 12838
          Removed/Changed code which created tables to be put into the dump
          (For loading views of views) by creating temp tables and then using
          the CREATE TABLE information in those temp tables. The problem with this
          is that when mysqldump -x is called, it locks all tables, so the
          temp tables could not be created, causing the mysqldump to exit with
          failure. The code was changed to use SHOW FIELDS to get the column
          names and type to build CREATE TABLE text used to create these tables
          that views need in the dump.
    feca138e
mysqldump.c 99.8 KB