diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-17 08:44:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-17 08:44:01 +0200 |
commit | 00d972abb9dcbe7c99cd9b94cefc725024cfb4bc (patch) | |
tree | 95ad5e69205d4222f9ab34ca041fcfa78cc9b997 /odb/mssql/error.cxx | |
parent | bc85d6a1c8d5296428c121cd1b51d470d5c0e963 (diff) |
Add initial database class implementation
Diffstat (limited to 'odb/mssql/error.cxx')
-rw-r--r-- | odb/mssql/error.cxx | 12 |
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); + } } } |