• unknown's avatar
    BUG#28026 - Falcon: crash if partitions and select for update · b2de7a6e
    unknown authored
    Assertion failure may happen with falcon + partition + select for
    update. This may affect other engines as well.
    
    Though assertion failure is fixed with this patch, falcon still
    deadlocks when running falcon_bug_28026.test.
    
    
    sql/ha_partition.cc:
      In case rnd_next fails, we must call ha_rnd_end. This is done
      conditionally (NO_CURRENT_PART_ID != m_part_spec.start_part)
      in ha_partition::ha_rnd_end. Thus we may not reset
      m_part_spec.start_part in case rnd is not ended.
    b2de7a6e
ha_partition.cc 161 KB