blob: 782367705e179b82a54425e9eb76d5d9a9654665 (
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
|
// file : odb/mssql/view-statements.txx
// copyright : Copyright (c) 2005-2019 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_));
}
}
}
|