diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-22 14:08:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-22 17:57:00 +0200 |
commit | cfc64a1b06cbef49050bc4555a60806b59d90f8b (patch) | |
tree | a9016c0fb6dde3d09923df4c45e79f0657e06a51 | |
parent | 6a8a6e084f1f225e1e346d5f5ade8386340c9983 (diff) |
Use quote_string() to quote enumerators
-rw-r--r-- | odb/relational/mysql/context.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/relational/mysql/context.cxx b/odb/relational/mysql/context.cxx index 5f65136..8fe19fe 100644 --- a/odb/relational/mysql/context.cxx +++ b/odb/relational/mysql/context.cxx @@ -268,9 +268,7 @@ namespace relational if (j != 0) r += ", "; - r += '\''; - r += er.name (); - r += '\''; + r += quote_string (er.name ()); } if (i == end) |