From cad77e08b1d3e2e55fd9aec12b1643cd7b4a0eca Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Nov 2011 13:19:51 +0200 Subject: Use OraText instead of text or oratext This type is used in function signatures in documentation. --- odb/oracle/connection.cxx | 9 +++++---- odb/oracle/error.cxx | 2 +- odb/oracle/statement.cxx | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/odb/oracle/connection.cxx b/odb/oracle/connection.cxx index bc77dfc..dc37a07 100644 --- a/odb/oracle/connection.cxx +++ b/odb/oracle/connection.cxx @@ -62,7 +62,7 @@ namespace odb r = OCIAttrSet ( auth_info, OCI_HTYPE_AUTHINFO, - reinterpret_cast (const_cast (db_.user ().c_str ())), + reinterpret_cast (const_cast (db_.user ().c_str ())), static_cast (db_.user ().size ()), OCI_ATTR_USERNAME, error_); @@ -73,7 +73,8 @@ namespace odb r = OCIAttrSet ( auth_info, OCI_HTYPE_AUTHINFO, - reinterpret_cast (const_cast (db_.password ().c_str ())), + reinterpret_cast ( + const_cast (db_.password ().c_str ())), static_cast (db_.password ().size ()), OCI_ATTR_PASSWORD, error_); @@ -89,7 +90,7 @@ namespace odb error_, &s, auth_info, - reinterpret_cast (const_cast (db_.db ().c_str ())), + reinterpret_cast (const_cast (db_.db ().c_str ())), static_cast (db_.db ().size ()), 0, 0, @@ -160,7 +161,7 @@ namespace odb r = OCIStmtPrepare2 (handle_, &s, error_, - reinterpret_cast (sql.c_str ()), + reinterpret_cast (sql.c_str ()), static_cast (sql.size ()), 0, 0, diff --git a/odb/oracle/error.cxx b/odb/oracle/error.cxx index 900e3d9..d848b1a 100644 --- a/odb/oracle/error.cxx +++ b/odb/oracle/error.cxx @@ -35,7 +35,7 @@ namespace odb 1, 0, &e, - reinterpret_cast (b.data ()), + reinterpret_cast (b.data ()), b.capacity (), t) == OCI_ERROR; diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index 642e928..0dab835 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -143,7 +143,7 @@ namespace odb sword r (OCIStmtPrepare2 (conn_.handle (), &handle, err, - reinterpret_cast (s.c_str ()), + reinterpret_cast (s.c_str ()), static_cast (s.size ()), 0, 0, -- cgit v1.1