/usr/include/odb/sqlite/view-statements.txx is in libodb-sqlite-dev 2.4.0-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 | // file : odb/sqlite/view-statements.txx
// copyright : Copyright (c) 2005-2015 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#include <cstddef> // std::size_t
#include <cstring> // std::memset
namespace odb
{
namespace sqlite
{
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;
std::memset (image_bind_, 0, sizeof (image_bind_));
std::memset (image_truncated_, 0, sizeof (image_truncated_));
for (std::size_t i (0); i < view_traits::column_count; ++i)
image_bind_[i].truncated = image_truncated_ + i;
}
}
}
|