1
0
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:
bar@bar.mysql.r18.ru
2003-03-31 09:19:20 +05:00
parent 66d9143a66
commit f0155f6a44
3 changed files with 56 additions and 0 deletions

View File

@ -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;
}
}