aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/binding.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-12 09:28:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-12 09:28:06 +0200
commitbbb153b9e576cdfdb59711f68d7f26a427a55041 (patch)
tree6774da8e93f02c20b9a157d79299279156ff755e /odb/mssql/binding.hxx
parentd8fad747b21c39e20e9f6f49b8a127b2fae1e7fe (diff)
Query support for SQL Server
Diffstat (limited to 'odb/mssql/binding.hxx')
-rw-r--r--odb/mssql/binding.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/mssql/binding.hxx b/odb/mssql/binding.hxx
index f8f4fc4..7c420f9 100644
--- a/odb/mssql/binding.hxx
+++ b/odb/mssql/binding.hxx
@@ -23,9 +23,10 @@ namespace odb
{
public:
typedef mssql::bind bind_type;
+ typedef mssql::change_callback change_callback_type;
binding (bind_type* b, std::size_t n)
- : bind (b), count (n), version (0)
+ : bind (b), count (n), version (0), change_callback (0)
{
}
@@ -33,6 +34,8 @@ namespace odb
std::size_t count;
std::size_t version;
+ change_callback_type* change_callback;
+
private:
binding (const binding&);
binding& operator= (const binding&);