From dbab9261ce98d1f30e712507023e60bab007787b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Jan 2012 10:25:47 +0200 Subject: Rename long_buffer to long_data_buffer --- odb/mssql/connection.cxx | 4 ++-- odb/mssql/connection.hxx | 6 +++--- odb/mssql/statement.cxx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'odb/mssql') diff --git a/odb/mssql/connection.cxx b/odb/mssql/connection.cxx index 401d701..19fb0d1 100644 --- a/odb/mssql/connection.cxx +++ b/odb/mssql/connection.cxx @@ -25,7 +25,7 @@ namespace odb db_ (db), state_ (state_disconnected), statement_cache_ (new statement_cache_type (*this)), - long_buffer_ (0) + long_data_buffer_ (0) { SQLRETURN r; @@ -95,7 +95,7 @@ namespace odb handle_ (handle), state_ (state_connected), statement_cache_ (new statement_cache_type (*this)), - long_buffer_ (0) + long_data_buffer_ (0) { } diff --git a/odb/mssql/connection.hxx b/odb/mssql/connection.hxx index f10aaae..2ec73b8 100644 --- a/odb/mssql/connection.hxx +++ b/odb/mssql/connection.hxx @@ -108,9 +108,9 @@ namespace odb } details::buffer& - long_buffer () + long_data_buffer () { - return long_buffer_; + return long_data_buffer_; } private: @@ -134,7 +134,7 @@ namespace odb std::auto_ptr statement_cache_; - details::buffer long_buffer_; + details::buffer long_data_buffer_; }; } } diff --git a/odb/mssql/statement.cxx b/odb/mssql/statement.cxx index 17f0eff..b6130b9 100644 --- a/odb/mssql/statement.cxx +++ b/odb/mssql/statement.cxx @@ -499,7 +499,7 @@ namespace odb if (r == SQL_NEED_DATA) { - details::buffer& tmp_buf (conn_.long_buffer ()); + details::buffer& tmp_buf (conn_.long_data_buffer ()); if (tmp_buf.capacity () == 0) tmp_buf.capacity (4096); @@ -560,7 +560,7 @@ namespace odb void statement:: stream_result (bind* b, size_t i, size_t n, void* obase, void* nbase) { - details::buffer& tmp_buf (conn_.long_buffer ()); + details::buffer& tmp_buf (conn_.long_data_buffer ()); if (tmp_buf.capacity () == 0) tmp_buf.capacity (4096); -- cgit v1.1