mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
ALTER TABLE didn't remember the exact
geometry type (POINT, LINESTRING, etc) and changed all into "GEOMETRY".
This commit is contained in:
@ -5475,4 +5475,8 @@ create_field::create_field(Field *old_field,Field *orig_field)
|
||||
def=new Item_string(pos,tmp.length(), charset);
|
||||
}
|
||||
}
|
||||
if (sql_type == FIELD_TYPE_GEOMETRY)
|
||||
{
|
||||
geom_type= ((Field_geom*)old_field)->geom_type;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user