• unknown's avatar
    BUG # 17631 SHOW TABLE STATUS reports wrong engine · 683ce57f
    unknown authored
    
    mysql-test/r/partition.result:
      results block for bug # 17631
    mysql-test/t/partition.test:
      test block for bug #17631
    sql/ha_partition.cc:
      move table_type func to .cc file and return table_type from
      the first handler.  This is acceptable since we know we have
      at least one handler and we currently do not support multiple
      engine types.  Later, we'll need to extend this to return
      some type of delimited list
    sql/ha_partition.h:
      removed inline version of this function
    sql/sql_show.cc:
      if the table is partitioned, we add the term "partitioned" to the 
      create options.  We make sure we are using the partitioned 
      handlerton before we do this.  When we support more native partition
      handlers then this will need to change.
    683ce57f
partition.result 26.9 KB