Mercurial > hg > orthanc-databases
comparison Framework/MySQL/MySQLTransaction.cpp @ 234:d1b124d116c1
PostgreSQL index plugin handles retries for collisions between multiple writers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Apr 2021 10:50:01 +0200 |
parents | ee5858d438dc |
children | 35598014f140 |
comparison
equal
deleted
inserted
replaced
233:7d46c99523a2 | 234:d1b124d116c1 |
---|---|
56 | 56 |
57 MySQLTransaction::~MySQLTransaction() | 57 MySQLTransaction::~MySQLTransaction() |
58 { | 58 { |
59 if (active_) | 59 if (active_) |
60 { | 60 { |
61 LOG(WARNING) << "An active MySQL transaction was dismissed"; | 61 LOG(INFO) << "An active MySQL transaction was dismissed"; |
62 | 62 |
63 try | 63 try |
64 { | 64 { |
65 db_.Execute("ROLLBACK", false); | 65 db_.Execute("ROLLBACK", false); |
66 } | 66 } |