• unknown's avatar
    Bug #16782: Partitions: crash, REPLACE .. on table with PK, DUPLICATE · 44a2ccc1
    unknown authored
    KEY event. Partitioning wrongly claimed to be able to handle HA_DUPP_POS
    when it was supported by the underlying storage engine, which resulted
    in a crash when handling REPLACE statements.
    
    
    mysql-test/r/partition.result:
      Add new results
    mysql-test/t/partition.test:
      Add regression test
    sql/ha_partition.cc:
      Fix list of table flags that are not passed through for partitioned
      tables, and add HA_DUPP_POS to that list. Also, handle HA_EXTRA_FLUSH_CACHE
      in ha_partition::extra().
    44a2ccc1
partition.result 7.78 KB