diff options
Diffstat (limited to 'odb/mssql/statement.ixx')
-rw-r--r-- | odb/mssql/statement.ixx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/odb/mssql/statement.ixx b/odb/mssql/statement.ixx index b2c091e..66316f4 100644 --- a/odb/mssql/statement.ixx +++ b/odb/mssql/statement.ixx @@ -6,6 +6,39 @@ namespace odb { namespace mssql { + inline bulk_statement:: + bulk_statement (connection_type& c, + const std::string& text, + statement_kind k, + const binding* process, + bool optimize, + std::size_t batch, + std::size_t skip, + SQLUSMALLINT* status) + : statement (c, text, k, process, optimize), + status_ (batch == 1 ? 0 : status) + { + if (batch != 1) + init (skip); + } + + inline bulk_statement:: + bulk_statement (connection_type& c, + const char* text, + statement_kind k, + const binding* process, + bool optimize, + std::size_t batch, + std::size_t skip, + SQLUSMALLINT* status, + bool copy_text) + : statement (c, text, k, process, optimize, copy_text), + status_ (batch == 1 ? 0 : status) + { + if (batch != 1) + init (skip); + } + inline unsigned long long update_statement:: version () { |