diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-10 15:27:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-10 15:27:01 +0200 |
commit | bae6ada688e0b09c773edc9b9f7e54f98b019cad (patch) | |
tree | 8627156a4ee98d0e4f10b540842f0f592350c42f /odb/pgsql/container-statements.hxx | |
parent | ed471987064f199c4036695d755ed1d026aec769 (diff) |
Don't allocate unnecessary entries in container truncation array
Diffstat (limited to 'odb/pgsql/container-statements.hxx')
-rw-r--r-- | odb/pgsql/container-statements.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/odb/pgsql/container-statements.hxx b/odb/pgsql/container-statements.hxx index 4967cfb..cf0e0b8 100644 --- a/odb/pgsql/container-statements.hxx +++ b/odb/pgsql/container-statements.hxx @@ -157,12 +157,6 @@ namespace odb return data_image_binding_; } - bool* - data_image_truncated () - { - return data_image_truncated_; - } - native_binding& data_image_native_binding () { @@ -268,7 +262,6 @@ namespace odb std::size_t data_id_binding_version_; binding data_image_binding_; - bool* data_image_truncated_; native_binding data_image_native_binding_; // Skips the id from data_image_binding. @@ -323,7 +316,8 @@ namespace odb int data_image_lengths_[traits::data_column_count]; int data_image_formats_[traits::data_column_count]; - bool data_image_truncated_array_[traits::data_column_count]; + bool select_image_truncated_array_[traits::data_column_count - + traits::id_column_count]; }; } } |