• unknown's avatar
    WL #2602, #2603, #2604 · 7b79f728
    unknown authored
    Added new syntax for partition management
    
    
    mysql-test/t/partition_error.test:
      New line
    sql/ha_partition.cc:
      Added support for DROP PARTITION on-line
    sql/ha_partition.h:
      Added support for DROP PARTITION on-line
    sql/handler.h:
      Introduced state of partition
      Introduced extra list of temporary partitions
      Removed no_full_parts
      A couple of methods to check for duplicate names of partitions
      Adaptions of default checks to be useful from ALTER TABLE
      partition management
      New method on handler to drop partitions
      New method to check for foreign keys on table
    sql/lex.h:
      COALESCE and REORGANISE used by ALTER TABLE x COALESCE/REORGANISE PARTITION
    sql/mysql_priv.h:
      Parser needs method to check if partition management command is ongoing
    sql/share/errmsg.txt:
      A number of new error messages for partition management
    sql/sql_lex.h:
      Adapted the ALTER_INFO data structure for partition management
    sql/sql_partition.cc:
      Couple of new routines + adaption of existing for new
      partition management functionality
    sql/sql_table.cc:
      bin log writing into separate subroutine to minimise code
      duplication.
      Lots of new code to handle partition management
    sql/sql_yacc.yy:
      New syntax for partition management
      Fixed a few errors in the parser part for partitioning
    7b79f728
partition_mgm_err.result 4.6 KB