• Igor Babaev's avatar
    Fixed LP bug #1058071 (mdev-564). · 66bd2b56
    Igor Babaev authored
    In some rare cases when the value of the system variable join_buffer_size
    was set to a number less than 256 the function JOIN_CACHE::set_constants 
    determined the size of an offset in the join buffer equal to 1 though
    the minimal join buffer required more than 256 bytes. This could cause
    a crash of the server when records from the join buffer were read.  
    66bd2b56
sql_join_cache.cc 141 KB