• unknown's avatar
    Post push fix · db9b2bdc
    unknown authored
    Fixed a missed case in the patch for Bug#31931.
    Also makes Bug#33722 a duplicate of Bug#31931.
    Added tests for better coverage.
    Replaced some legacy function calls.
    
    
    mysql-test/r/partition.result:
      Added tests for better coverage
    mysql-test/r/partition_datatype.result:
      Added tests for better coverage
    mysql-test/r/partition_error.result:
      Added tests for better coverage
    mysql-test/suite/parts/inc/partition_engine.inc:
      Bug#31931: Mix of handlers error message
      
      Bug#33722 is fixed within this patch too
    mysql-test/suite/parts/r/partition_engine_innodb.result:
      Bug#31931: Mix of handlers error message
      
      Bug#33722 is fixed within this patch too
    mysql-test/suite/parts/r/partition_engine_myisam.result:
      Bug#31931: Mix of handlers error message
      
      Bug#33722 is fixed within this patch too
    mysql-test/t/partition.test:
      Added tests for better coverage
    mysql-test/t/partition_datatype.test:
      Added tests for better coverage
    mysql-test/t/partition_error.test:
      Added tests for Bug#31931
    sql/partition_info.cc:
      Bug#31931: Mix of handlers error message
      
      Fixed case where given info->db_type not matched
      thd->lex->create_info.db_type
      
      And the check for inconsistent subpartition engines-clauses.
    sql/sql_partition.cc:
      Changed ha_legacy_type to ha_resolve_storage_engine_name
    sql/sql_table.cc:
      Changed ha_legacy_type to ha_resolve_storage_engine_name
    db9b2bdc
sql_partition.cc 237 KB