From 35d912d70bc7073f173f22bb5948a00b3c4be3f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Aug 2010 18:26:50 +0200 Subject: Move buffer to the details namespace --- odb/mysql/connection-factory.hxx | 1 + odb/mysql/query.hxx | 6 ++++-- odb/mysql/traits.hxx | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/odb/mysql/connection-factory.hxx b/odb/mysql/connection-factory.hxx index bb439a8..50072b2 100644 --- a/odb/mysql/connection-factory.hxx +++ b/odb/mysql/connection-factory.hxx @@ -85,6 +85,7 @@ namespace odb db_ (0), cond_ (mutex_) { + // @@ check min_ <= max_ } virtual shared_ptr diff --git a/odb/mysql/query.hxx b/odb/mysql/query.hxx index fe53bd5..dd7e0cb 100644 --- a/odb/mysql/query.hxx +++ b/odb/mysql/query.hxx @@ -19,6 +19,8 @@ #include #include +#include + namespace odb { namespace mysql @@ -1524,7 +1526,7 @@ namespace odb } private: - buffer buffer_; + details::buffer buffer_; unsigned long size_; }; @@ -1562,7 +1564,7 @@ namespace odb } private: - buffer buffer_; + details::buffer buffer_; unsigned long size_; }; } diff --git a/odb/mysql/traits.hxx b/odb/mysql/traits.hxx index fd0b917..b415bd1 100644 --- a/odb/mysql/traits.hxx +++ b/odb/mysql/traits.hxx @@ -16,6 +16,8 @@ #include +#include + namespace odb { namespace mysql @@ -207,7 +209,7 @@ namespace odb } static void - set_image (buffer& b, + set_image (details::buffer& b, std::size_t& n, bool& is_null, const std::string& v) @@ -253,7 +255,7 @@ namespace odb } static void - set_image (buffer& b, + set_image (details::buffer& b, std::size_t& n, bool& is_null, const char* v) -- cgit v1.1