From e2f3b445828604945aa8ca8bfc2bf77ae7be8b81 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Nov 2011 16:46:11 +0200 Subject: Translate certain SQLSTATE codes to special exceptions --- odb/mssql/database.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'odb/mssql/database.hxx') 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 = std::auto_ptr (0)); - */ - static void print_usage (std::ostream&); -- cgit v1.1