• Alexander Barkov's avatar
    Removing duplicate code in double-to-longlong conversion. · 59ec3973
    Alexander Barkov authored
    Adding Converter_double_to_longlong and reusing it in:
    1. Field_longlong::store(double nr)
    2. Field_double::val_int()
    3. Item::val_int_from_real()
    4. Item_dyncol_get::val_int()
    As a good side efferct, now overflow in conversion in the mentioned
    val_xxx() methods return exactly the same warning.
    59ec3973
item.h 177 KB