aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-17 16:46:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-17 16:46:11 +0200
commite2f3b445828604945aa8ca8bfc2bf77ae7be8b81 (patch)
treee4854c3a6dd2ce5960f619e80e86c6dc8a4b4b64 /odb/mssql/database.hxx
parentbcbbad2716b09c0c70366825f5bdf2055c8d21b8 (diff)
Translate certain SQLSTATE codes to special exceptions
Diffstat (limited to 'odb/mssql/database.hxx')
-rw-r--r--odb/mssql/database.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/odb/mssql/database.hxx b/odb/mssql/database.hxx
index f82d7c9..d20d860 100644
--- a/odb/mssql/database.hxx
+++ b/odb/mssql/database.hxx
@@ -68,17 +68,15 @@ namespace odb
// argv array and the argc count is updated accordingly. This
// constructor may throw the cli_exception exception.
//
+ */
+
database (int& argc,
char* argv[],
bool erase = false,
- ub2 charset = 0,
- ub2 ncharset = 0,
- OCIEnv* environment = 0,
+ SQLHENV environment = 0,
std::auto_ptr<connection_factory> =
std::auto_ptr<connection_factory> (0));
- */
-
static void
print_usage (std::ostream&);