aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/container-statements.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/container-statements.hxx')
-rw-r--r--odb/oracle/container-statements.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/odb/oracle/container-statements.hxx b/odb/oracle/container-statements.hxx
index 61febef..24fe98c 100644
--- a/odb/oracle/container-statements.hxx
+++ b/odb/oracle/container-statements.hxx
@@ -151,6 +151,12 @@ namespace odb
return data_image_binding_;
}
+ binding&
+ select_image_binding ()
+ {
+ return select_image_binding_;
+ }
+
//
// Statements.
//
@@ -178,7 +184,7 @@ namespace odb
conn_,
select_all_text_,
cond_image_binding_,
- data_image_binding_,
+ select_image_binding_,
4096)); // Hardcode a 4kB LOB prefetch size.
return *select_all_;
@@ -209,13 +215,12 @@ namespace odb
std::size_t cond_image_version_;
std::size_t cond_id_binding_version_;
binding cond_image_binding_;
- bind* cond_image_bind_;
data_image_type data_image_;
std::size_t data_image_version_;
std::size_t data_id_binding_version_;
binding data_image_binding_;
- bind* data_image_bind_;
+ binding select_image_binding_; // Skips the id from data_image_binding.
const char* insert_one_text_;
const char* select_all_text_;
@@ -243,8 +248,8 @@ namespace odb
container_statements_impl& operator= (const container_statements_impl&);
private:
- bind cond_image_bind_array_[traits::cond_column_count];
- bind data_image_bind_array_[traits::data_column_count];
+ bind cond_image_bind_[traits::cond_column_count];
+ bind data_image_bind_[traits::data_column_count];
};
}
}