aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-10-09 11:22:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:29:49 +0200
commit02bf57c837750856b7e02165b30b9055bb2596cc (patch)
tree8214a3b1d77b1a519c0b9da7c77f2c7e397c28b8 /odb/oracle/statement.ixx
parent159c8b877add5c523b575aa3d3d34a4931b1266c (diff)
Initial bulk erase implementation
Diffstat (limited to 'odb/oracle/statement.ixx')
-rw-r--r--odb/oracle/statement.ixx37
1 files changed, 37 insertions, 0 deletions
diff --git a/odb/oracle/statement.ixx b/odb/oracle/statement.ixx
new file mode 100644
index 0000000..a41da8a
--- /dev/null
+++ b/odb/oracle/statement.ixx
@@ -0,0 +1,37 @@
+// file : odb/oracle/statement.ixx
+// copyright : Copyright (c) 2005-2013 Code Synthesis Tools CC
+// license : ODB NCUEL; see accompanying LICENSE file
+
+using namespace std;
+
+namespace odb
+{
+ namespace oracle
+ {
+ inline bulk_statement::
+ bulk_statement (connection_type& c,
+ const std::string& text,
+ statement_kind k,
+ const binding* process,
+ bool optimize,
+ std::size_t batch,
+ auto_handle<OCIError>* status)
+ : statement (c, text, k, process, optimize),
+ status_ (batch == 1 ? 0 : status)
+ {
+ }
+
+ inline bulk_statement::
+ bulk_statement (connection_type& c,
+ const char* text,
+ statement_kind k,
+ const binding* process,
+ bool optimize,
+ std::size_t batch,
+ auto_handle<OCIError>* status)
+ : statement (c, text, k, process, optimize),
+ status_ (batch == 1 ? 0 : status)
+ {
+ }
+ }
+}