From ea61e19c6c0a52be4740448d0d21605e090b460d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Oct 2015 19:06:16 +0200 Subject: 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. --- odb/mssql/traits.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1