From 2d2824da38f4ad89c3d9a675042547e13c03f64f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Jan 2013 12:27:27 +0200 Subject: Add support for setting SQL Server transaction isolation level --- libcommon/common/common.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcommon') 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 -- cgit v1.1