aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_;
+ }
}
}