• Ramil Kalimullin's avatar
    Fix for bug#56679: gis.test: valgrind error · 762c7ca4
    Ramil Kalimullin authored
    Item_func_spatial_collection::fix_length_and_dec()
    changed to use argument's print() method to print
    the ER_ILLEGAL_VALUE_FOR_TYPE error.
    
    
    mysql-test/r/gis.result:
      Fix for bug#56679: gis.test: valgrind error
        - test result adjusted.
    sql/item_geofunc.h:
      Fix for bug#56679: gis.test: valgrind error
        - use argument's print() method instead of improper val_str()
      call in the Item_func_spatial_collection::fix_length_and_dec(), as
      it's applicable only for constant items.
    762c7ca4
item_geofunc.h 10.4 KB