summaryrefslogtreecommitdiff
path: root/mysql/custom/test.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-13 21:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-23 21:20:44 +0300
commitfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch)
tree6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /mysql/custom/test.hxx
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'mysql/custom/test.hxx')
-rw-r--r--mysql/custom/test.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql/custom/test.hxx b/mysql/custom/test.hxx
index b6c2c86..82cc59d 100644
--- a/mysql/custom/test.hxx
+++ b/mysql/custom/test.hxx
@@ -13,8 +13,8 @@
//
#pragma db map type("GEOMETRY") \
as("VARCHAR(256)") \
- to("GeomFromText((?))") \
- from("AsText((?))")
+ to("ST_GeomFromText((?))") \
+ from("ST_AsText((?))")
#pragma db value type("GEOMETRY")
struct point