• unknown's avatar
    Bug10213 mysqldump crashes when dumping VIEWs · b592c8d2
    unknown authored
     - Added testcase for this bug
     - Check if compact view format can be used
     - Clean up mysqld_show_create
    
    
    mysql-test/r/mysqldump.result:
      Updated test result
    mysql-test/t/mysqldump.test:
      Added testcase
    sql/item.cc:
      Check if compact format can be used
    sql/sql_select.cc:
      Check if compact format can be used
    sql/sql_show.cc:
      Cleanup of mysqld_show_create
       -remove extra invocation of view_store_create_info
       -Remove unused vars
       -Remove unused codes
      Check if compact show view format can be used 
        - if user has db of this view as current db
        - if this view only references table inside it's own db
    sql/table.h:
      Add variable for compact_view_format indicator
    b592c8d2
mysqldump.result 76.4 KB