aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/query.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/query.hxx
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
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)