• Igor Babaev's avatar
    Fixed LP bug #707827. · a2284e42
    Igor Babaev authored
    This bug could manifest itself when hash join over a varchar column
    with NULL values in some rows was used. It happened because the
    function key_buf_cmp erroneously returned FALSE when one of the joined
    key fields was null while the second was not.
    Also fixed two other bugs in the functions key_hashnr and key_buf_cmp 
    that could possibly lead to wrong results for some queries that
    used hash join over several columns with nulls.
    Also reverted the latest addition of the test case for bug #45092. It
    had been already backported earlier.
    a2284e42
join_cache.result 191 KB