• unknown's avatar
    Fix for bug #22533: Traditional: Too-long bit value not rejected. · 0ce02f6d
    unknown authored
    Problem: storing >=8 byte hexadecimal values we don't check data.
    Fix: check if the data fits the {u}longlong range.
    
    
    mysql-test/r/select.result:
      Fix for bug #22533: Traditional: Too-long bit value not rejected.
        - test result.
    mysql-test/t/range.test:
      Fix for bug #22533: Traditional: Too-long bit value not rejected.
        - adjusted.
    mysql-test/t/select.test:
      Fix for bug #22533: Traditional: Too-long bit value not rejected.
        - test case.
    sql/item.cc:
      Fix for bug #22533: Traditional: Too-long bit value not rejected.
        - limit storing value to {U}LONGLONG_MAX in numeric context.
    0ce02f6d
select.test 132 KB