• Igor Babaev's avatar
    Fixed LP bug #694443. · d3fd9a16
    Igor Babaev authored
    One of the hash functions employed by the BNLH join algorithm
    calculates the the value of hash index for key value utilizing
    every byte of the key buffer. To make this calculation valid
    one has to ensure that for any key value unused bytes of the 
    buffer are filled with with a certain filler. We choose 0 as
    a filler for these bytes.
    
    Added an optional boolean parameter with_zerofill to the function
    key_copy. If the value of the parameter is TRUE all unused bytes
    of the key buffer is filled with 0. 
    d3fd9a16
sql_join_cache.cc 135 KB