• unknown's avatar
    Bug# 15968 - Partitions: crash when insert with f1 = -1 into partition by hash(f1) · e262e744
    unknown authored
    fixed
    
    
    mysql-test/r/partition_hash.result:
      results for newly added test.
    mysql-test/t/partition_hash.test:
      test case for inserting a value into a hash that would generate a negative value
    sql/sql_partition.cc:
      fields that generate a negative value would also generate a negative
      part_id which doesn't index into the m_file array to well.
    e262e744
sql_partition.cc 114 KB