Skip to content

Commit

Permalink
None zero SRID
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Jun 25, 2024
1 parent 4188e04 commit 236dd34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_tests/mysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ INSERT INTO %s VALUES (
-- c_multilinestring
ST_GeomFromText('MULTILINESTRING((4 4, 5 5), (6 6, 7 7))'),
-- c_multipolygon
ST_GeomFromText('MULTIPOLYGON(((4 4, 5 5, 5 4, 4 4)), ((6 6, 7 7, 7 6, 6 6)))'),
ST_GeomFromText('MULTIPOLYGON(((0 0, 1 1, 1 0, 0 0)), ((2 2, 3 3, 3 2, 2 2)))', 4326),
-- c_geomcollection
ST_GeomFromText('GEOMETRYCOLLECTION(POINT(6 6), LINESTRING(7 7, 8 8), POLYGON((9 9, 10 10, 11 11, 9 9)))')
)
Expand Down Expand Up @@ -572,8 +572,8 @@ const expectedPayloadTemplate = `{
"wkb": "AQQAAAADAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAADwPwAAAAAAAPA/AQEAAAAAAAAAAAAAQAAAAAAAAABA"
},
"c_multipolygon": {
"srid": 0,
"wkb": "AQYAAAACAAAAAQMAAAABAAAABAAAAAAAAAAAABBAAAAAAAAAEEAAAAAAAAAUQAAAAAAAABRAAAAAAAAAFEAAAAAAAAAQQAAAAAAAABBAAAAAAAAAEEABAwAAAAEAAAAEAAAAAAAAAAAAGEAAAAAAAAAYQAAAAAAAABxAAAAAAAAAHEAAAAAAAAAcQAAAAAAAABhAAAAAAAAAGEAAAAAAAAAYQA=="
"srid": 4326,
"wkb": "AQYAAAACAAAAAQMAAAABAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwPwAAAAAAAPA/AAAAAAAAAAAAAAAAAADwPwAAAAAAAAAAAAAAAAAAAAABAwAAAAEAAAAEAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAhAAAAAAAAACEAAAAAAAAAAQAAAAAAAAAhAAAAAAAAAAEAAAAAAAAAAQA=="
},
"c_numeric": "AN3M",
"c_point": {
Expand Down

0 comments on commit 236dd34

Please sign in to comment.