blob: 1b6de05a8f8e5cb2e2e150034312c42a97d7d844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// file : odb/mssql/view-statements.txx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : ODB NCUEL; see accompanying LICENSE file
#include <cstring> // std::memset
namespace odb
{
namespace mssql
{
template <typename T>
view_statements<T>::
~view_statements ()
{
}
template <typename T>
view_statements<T>::
view_statements (connection_type& conn)
: statements_base (conn),
image_binding_ (image_bind_, view_traits::column_count)
{
image_.version = 0;
image_version_ = 0;
image_binding_.change_callback = image_.change_callback ();
std::memset (image_bind_, 0, sizeof (image_bind_));
}
}
}
|