summaryrefslogtreecommitdiff
path: root/libodb-mssql/odb/mssql/auto-handle.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-01 18:10:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-01 18:10:52 +0300
commitae5a90db9df0cb9f4f2df8218bc1ee81556490ac (patch)
tree6446af3bdcf112f1687e59313a3ed4d698b7e1cf /libodb-mssql/odb/mssql/auto-handle.cxx
parent3fa01c83a095f1f5be99189236ec348f5f2fa2c1 (diff)
parent2895ad78dbdb43e57fc34558b4530b4e105fc72d (diff)
Merge branch 'libodb-mssql' into multi-package
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);
+ }
+ }
+}