aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-24 15:51:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-24 15:51:28 +0200
commit885017c4aaad728c4375d7d23588705932095857 (patch)
tree153657a311112fe716a5e0312c97767cd10becca
parent1085f57665dd84558bc06b2683e0ba6a2a78298f (diff)
Tie various loose endsbulk
-rw-r--r--odb/mssql/statement.cxx22
-rw-r--r--odb/mssql/statement.ixx22
2 files changed, 22 insertions, 22 deletions
diff --git a/odb/mssql/statement.cxx b/odb/mssql/statement.cxx
index ce3ac1e..1d4b204 100644
--- a/odb/mssql/statement.cxx
+++ b/odb/mssql/statement.cxx
@@ -1636,17 +1636,6 @@ namespace odb
return n_;
}
- unsigned long long update_statement::
- result (size_t i)
- {
- assert ((i_ == i || i_ + 1 == i) && i < n_);
-
- if (i != i_)
- mex_->current (++i_); // mex cannot be NULL since this is a batch.
-
- return result_;
- }
-
//
// delete_statement
//
@@ -1748,16 +1737,5 @@ namespace odb
return n_;
}
-
- unsigned long long delete_statement::
- result (size_t i)
- {
- assert ((i_ == i || i_ + 1 == i) && i < n_);
-
- if (i != i_)
- mex_->current (++i_); // mex cannot be NULL since this is a batch.
-
- return result_;
- }
}
}
diff --git a/odb/mssql/statement.ixx b/odb/mssql/statement.ixx
index da9fbd8..56e0ca4 100644
--- a/odb/mssql/statement.ixx
+++ b/odb/mssql/statement.ixx
@@ -38,5 +38,27 @@ namespace odb
if (status_ != 0 && !empty ())
init (skip);
}
+
+ // update_statement
+ //
+ inline unsigned long long update_statement::
+ result (std::size_t i)
+ {
+ if (i != i_)
+ mex_->current (++i_); // mex cannot be NULL since this is a batch.
+
+ return result_;
+ }
+
+ // delete_statement
+ //
+ inline unsigned long long delete_statement::
+ result (std::size_t i)
+ {
+ if (i != i_)
+ mex_->current (++i_); // mex cannot be NULL since this is a batch.
+
+ return result_;
+ }
}
}