diff --git a/mapobjectdb/postgres/sql.go b/mapobjectdb/postgres/sql.go index a9c00f4..7fca499 100644 --- a/mapobjectdb/postgres/sql.go +++ b/mapobjectdb/postgres/sql.go @@ -11,7 +11,7 @@ where o.type = $1 and o.posx >= $2 and o.posy >= $3 and o.posz >= $4 and o.posx <= $5 and o.posy <= $6 and o.posz <= $7 order by o.id -limit ?8 +limit $8 ` const getMapDataWithAttributeLikePosQuery = ` select o.id, o.type, o.mtime, @@ -27,7 +27,7 @@ and o.type = $1 and o.posx >= $2 and o.posy >= $3 and o.posz >= $4 and o.posx <= $5 and o.posy <= $6 and o.posz <= $7 order by o.id -limit ?10 +limit $10 ` const removeMapDataQuery = `