• gshchepa/uchum@gleb.loc's avatar
    Fixed bug #32335. · f93b5a9c
    gshchepa/uchum@gleb.loc authored
    Comparison of a BIGINT NOT NULL column with a constant arithmetic
    expression that evaluates to NULL caused error 1048: "Column '...'
    cannot be null".
    
    Made convert_constant_item() check if the constant expression is NULL
    before attempting to store it in a field. Attempts to store NULL in a
    NOT NULL field caused query errors.
    f93b5a9c
item_cmpfunc.cc 126 KB