• Igor Babaev's avatar
    Fixed LP bug #925985. · c8bbe06a
    Igor Babaev authored
    If the flag 'optimize_join_buffer_size' is set to 'off' and the value
    of the system variable 'join_buffer_size' is greater than the value of
    the system variable 'join_buffer_space_limit' than no join cache can
    be employed to join tables of the executed query.
    A bug in the function JOIN_CACHE::alloc_buffer allowed to use join
    buffer even in this case while another bug in the function 
    revise_cache_usage could cause a crash of the server in this case if the
    chosen execution plan for the query contained outer join or semi-join
    operation.  
    c8bbe06a
join_cache.result 194 KB