summaryrefslogtreecommitdiff
path: root/odb/oracle/section-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-28 10:51:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-28 10:51:12 +0200
commite28fe11ef1a582f14261e063f162e6088a6816a0 (patch)
tree84bc636d15d722f134f5c76cec7429d34e1f4c18 /odb/oracle/section-statements.txx
parent2159b67ef61613b365deabcfbb7f224438612a54 (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/oracle/section-statements.txx')
-rw-r--r--odb/oracle/section-statements.txx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/oracle/section-statements.txx b/odb/oracle/section-statements.txx
index a393d80..a56b3ba 100644
--- a/odb/oracle/section-statements.txx
+++ b/odb/oracle/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),