以下简单测试返回错误
CREATE TABLE track (
position point NOT NULL
);
INSERT INTO track VALUES (
position=ST_PointFromText('POINT(-45.62390335574153 -3.9551761173743847)')
);
Run Code Online (Sandbox Code Playgroud)
错误:
错误 1416 (22003):无法从发送到 GEOMETRY 字段的数据中获取几何对象
我究竟做错了什么?