• Igor Babaev's avatar
    Fixed LP bug #794909. · ab411f8f
    Igor Babaev authored
    The function generate_derived_keys did not take into account the fact
    that the last element in the array of keyuses could be just a barrier
    element. In some cases it could lead to a crash of the server.
    
    Also fixed a couple of other bugs in generate_derived_keys: the inner 
    loop in the body of if this function did not change the cycle variables
    properly.
    ab411f8f
sql_select.cc 690 KB