diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-28 10:51:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-28 10:51:12 +0200 |
commit | fb43a4faf5492453c751bbd2d2319c9ca8614a11 (patch) | |
tree | 4b37edc00530856b3ba506d0cd3dd29ae5da8fbf /odb/mssql/section-statements.txx | |
parent | 771c2ddb82d9f2c7e070f4afc6c679b05b405f87 (diff) |
Make schema version access (but not modification) thread-safe
Also cache the version in statements so that we don't have to lock
the mutex (slow) every time we need to check the version.
Diffstat (limited to 'odb/mssql/section-statements.txx')
-rw-r--r-- | odb/mssql/section-statements.txx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/mssql/section-statements.txx b/odb/mssql/section-statements.txx index fcb6874..7036270 100644 --- a/odb/mssql/section-statements.txx +++ b/odb/mssql/section-statements.txx @@ -14,6 +14,7 @@ namespace odb image_type& im, binding& id, binding& idv) : conn_ (conn), + svm_ (0), image_ (im), id_binding_ (id), idv_binding_ (idv), |