aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-20 10:25:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 10:25:47 +0200
commitdbab9261ce98d1f30e712507023e60bab007787b (patch)
treee32c0448485908af94aebedfb46460b15d2e25ab
parent984673f60f35f8e6f9a51afeaa8d66bd91e61f34 (diff)
Rename long_buffer to long_data_buffer
-rw-r--r--odb/mssql/connection.cxx4
-rw-r--r--odb/mssql/connection.hxx6
-rw-r--r--odb/mssql/statement.cxx4
3 files changed, 7 insertions, 7 deletions
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_type> 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);