aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-29 19:06:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-29 19:06:16 +0200
commitea61e19c6c0a52be4740448d0d21605e090b460d (patch)
treeffbece5b2d224f79609ecc20cb67c4c105d12970
parent2d228c59fc6bd96944f91912c2b174cc63f56aab (diff)
Fix UUID char[16] query_type alias
Instead of pre-decaying it to const char*, let the normal decay do it for us. This fixes a compilation issue when used with dynamic multi- database support.
-rw-r--r--odb/mssql/traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mssql/traits.hxx b/odb/mssql/traits.hxx
index 9cb14d8..d570a4c 100644
--- a/odb/mssql/traits.hxx
+++ b/odb/mssql/traits.hxx
@@ -1876,7 +1876,7 @@ namespace odb
id_uniqueidentifier>
{
typedef char* value_type;
- typedef const char* query_type;
+ typedef char query_type[16];
typedef uniqueidentifier image_type;
static void