summaryrefslogtreecommitdiff
path: root/libodb-mssql/odb/mssql/auto-handle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libodb-mssql/odb/mssql/auto-handle.cxx')
-rw-r--r--libodb-mssql/odb/mssql/auto-handle.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/libodb-mssql/odb/mssql/auto-handle.cxx b/libodb-mssql/odb/mssql/auto-handle.cxx
new file mode 100644
index 0000000..ca42040
--- /dev/null
+++ b/libodb-mssql/odb/mssql/auto-handle.cxx
@@ -0,0 +1,17 @@
+// file : odb/mssql/auto-handle.cxx
+// license : ODB NCUEL; see accompanying LICENSE file
+
+#include <odb/mssql/mssql.hxx>
+#include <odb/mssql/auto-handle.hxx>
+
+namespace odb
+{
+ namespace mssql
+ {
+ void
+ free_handle (SQLHANDLE h, SQLSMALLINT htype)
+ {
+ SQLFreeHandle (htype, h);
+ }
+ }
+}