aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/auto-handle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/auto-handle.cxx')
-rw-r--r--odb/mssql/auto-handle.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/odb/mssql/auto-handle.cxx b/odb/mssql/auto-handle.cxx
new file mode 100644
index 0000000..733ec92
--- /dev/null
+++ b/odb/mssql/auto-handle.cxx
@@ -0,0 +1,19 @@
+// file : odb/mssql/auto-handle.cxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
+// license : ODB NCUEL; see accompanying LICENSE file
+
+#include <odb/mssql/odbc.hxx>
+#include <odb/mssql/auto-handle.hxx>
+
+namespace odb
+{
+ namespace mssql
+ {
+ void
+ free_handle (SQLHANDLE h, SQLSMALLINT htype)
+ {
+ SQLFreeHandle (htype, h);
+ }
+ }
+}