aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-01-15 12:27:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-01-15 12:27:27 +0200
commit2d2824da38f4ad89c3d9a675042547e13c03f64f (patch)
tree642cb28a5a729467c0d3eebbb729bee15f190874 /libcommon/common/common.cxx
parentf221c0a4f291646a1e698a8de2909043e7d0313d (diff)
Add support for setting SQL Server transaction isolation level
Diffstat (limited to 'libcommon/common/common.cxx')
-rw-r--r--libcommon/common/common.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx
index 524c11b..24238a5 100644
--- a/libcommon/common/common.cxx
+++ b/libcommon/common/common.cxx
@@ -196,7 +196,9 @@ create_database (int& argc,
if (max_connections != 0)
f.reset (new mssql::connection_pool_factory (max_connections));
- db.reset (new mssql::database (argc, argv, false, "", 0,
+ db.reset (new mssql::database (argc, argv, false, "",
+ mssql::isolation_read_committed, 0,
+
#ifdef HAVE_CXX11
move (f)
#else