• Alexander Barkov's avatar
    MDEV-9397 Split field.cc:calc_pack_length() into virtual methods in Type_handler · fba7fbbc
    Alexander Barkov authored
    - Adding new virtual methods in Type_handler:
      * Column_definition_prepare_stage1()
      * Column_definition_prepare_stage2()
      * calc_pack_length()
    
    - Using new methods to remove type specific code in:
      * Global function calc_pack_length()
      * Column_definition::prepare_create_field()
      * The loop body mysql_prepare_create_table()
      * Column_definition::sp_prepare_create_field()
    fba7fbbc
sql_table.cc 332 KB