aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/test.hxx
diff options
context:
space:
mode:
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