• Alexey Kopytov's avatar
    Bug #8433: Overflow must be an error · aef97cad
    Alexey Kopytov authored
     
    All numeric operators and functions on integer, floating point 
    and DECIMAL values now throw an 'out of range' error rather 
    than returning an incorrect value or NULL,  when the result is 
    out of supported range for the corresponding data type. 
     
    Some test cases in the test suite had to be updated 
    accordingly either because the test case itself relied on a 
    value returned in case of a numeric overflow, or because a 
    numeric overflow was the root cause of the corresponding bugs. 
    The latter tests are no longer relevant, since the expressions 
    used to trigger the corresponding bugs are not valid anymore. 
    However, such test cases have been adjusted and kept "for the 
    record". 
    aef97cad
strict.test 42.7 KB