• unknown's avatar
    bug #14807 (GeomFromText() should return MYSQL_TYPE_GEOMETRY) · 51485919
    unknown authored
    we didn't have code creating GEOMETRY-type fields from Items (expression results)
    So i added this code
    
    
    mysql-test/r/gis.result:
      test result fixed
    mysql-test/t/gis.test:
      testcase added
    sql/item_geofunc.cc:
      Item_geometry_func::tmp_table_field implemented
    sql/item_geofunc.h:
      tmp_table_field() and get_geometry_type() declared
    51485919
item_geofunc.cc 16.2 KB