aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/query.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/custom/query.hxx')
-rw-r--r--mysql/custom/query.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql/custom/query.hxx b/mysql/custom/query.hxx
index aa0c9ed..2fa8f73 100644
--- a/mysql/custom/query.hxx
+++ b/mysql/custom/query.hxx
@@ -128,8 +128,8 @@ namespace odb
public:
query_column (const char* table, const char* column, const char* conv)
: table_ (table), column_ (column), conversion_ (conv),
- x_table_ ("X(" + std::string (table)), // @@ Not very clean.
- y_table_ ("Y(" + std::string (table)),
+ x_table_ ("ST_X(" + std::string (table)), // @@ Not very clean.
+ y_table_ ("ST_Y(" + std::string (table)),
s_column_ (std::string (column) + ")"), // X & Y column suffix.
x (x_table_.c_str (), s_column_.c_str (), 0),
y (y_table_.c_str (), s_column_.c_str (), 0)