• unknown's avatar
    Bug10213 mysqldump crashes when dumping VIEWs · 74ea939f
    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
    74ea939f
table.h 19.3 KB