diff options
Diffstat (limited to 'brep/database.cxx')
-rw-r--r-- | brep/database.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/brep/database.cxx b/brep/database.cxx index 17605c5..1f70881 100644 --- a/brep/database.cxx +++ b/brep/database.cxx @@ -41,11 +41,13 @@ namespace brep } shared_ptr<database> d ( - make_shared<database> (o.db_user (), - o.db_password (), - o.db_name (), - o.db_host (), - o.db_port ())); + make_shared<database> ( + o.db_user (), + o.db_password (), + o.db_name (), + o.db_host (), + o.db_port (), + "options='-c default_transaction_isolation=serializable'")); databases[o] = d; return d; |