/usr/include/odb/mysql/view-statements.txx is in libodb-mysql-dev 2.4.0-3.
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/mysql/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 mysql
{
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].error = image_truncated_ + i;
}
}
}
|