diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 15:04:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 15:04:56 +0200 |
commit | 06583147eaa601764a789ae586384e38e05e9015 (patch) | |
tree | 03792913f585e4884843f1d6c52988d8dfa96a87 /odb/relational/mssql/header.cxx | |
parent | 858b2d37950c33cdf076382849de952ea44d7779 (diff) |
Implement optimistic concurrency support in bulk operations
Bulk update and SQL Server ROWVERSION not yet supported.
Diffstat (limited to 'odb/relational/mssql/header.cxx')
-rw-r--r-- | odb/relational/mssql/header.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/relational/mssql/header.cxx b/odb/relational/mssql/header.cxx index 3bc2cbd..ff16950 100644 --- a/odb/relational/mssql/header.cxx +++ b/odb/relational/mssql/header.cxx @@ -53,6 +53,12 @@ namespace relational os << "static const bool rowversion = " << rv << ";" << endl; + + // Disable bulk update if we have ROWVERSION since we don't + // yet support batch extraction of the version. + // + if (rv && c.count ("bulk-update")) + c.remove ("bulk-update"); } virtual void |