aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/error.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/error.cxx')
-rw-r--r--odb/mssql/error.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/mssql/error.cxx b/odb/mssql/error.cxx
index f2e172b..0d26ae8 100644
--- a/odb/mssql/error.cxx
+++ b/odb/mssql/error.cxx
@@ -56,16 +56,16 @@ namespace odb
}
void
- translate_error (const auto_handle<SQL_HANDLE_ENV>& h)
- {
- translate_error (h, SQL_HANDLE_ENV, 0);
- }
-
- void
translate_error (connection& /*c*/)
{
//@@ TODO enable (also header inclusion)
// translate_error (c.handle (), SQL_HANDLE_DBC, &c);
}
+
+ LIBODB_MSSQL_EXPORT void
+ translate_error (SQLHANDLE h, SQLSMALLINT htype)
+ {
+ translate_error (h, htype, 0);
+ }
}
}