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 | 31789cec4f59f7a6fd1e92eac523c595a7b102ac (patch) | |
tree | 584244d644ff1c81002f9d1e3f9667f4fb710181 /odb/pgsql/section-statements.txx | |
parent | ec1498dcd925d1c01074114f615b5fd4010ae274 (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/pgsql/section-statements.txx')
-rw-r--r-- | odb/pgsql/section-statements.txx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/pgsql/section-statements.txx b/odb/pgsql/section-statements.txx index d4463d1..592db7b 100644 --- a/odb/pgsql/section-statements.txx +++ b/odb/pgsql/section-statements.txx @@ -17,6 +17,7 @@ namespace odb native_binding& idn, const Oid* idt) : conn_ (conn), + svm_ (0), image_ (im), id_binding_ (id), idv_binding_ (idv), |