diff MySQL/Plugins/StoragePlugin.cpp @ 269:567761f0c1ea

fix issue #151: support of retries in the storage area plugins to deal with multiple writers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Apr 2021 17:54:31 +0200
parents a4918d57435c
children 16aac0287485
line wrap: on
line diff
--- a/MySQL/Plugins/StoragePlugin.cpp	Wed Apr 21 11:14:40 2021 +0200
+++ b/MySQL/Plugins/StoragePlugin.cpp	Wed Apr 21 17:54:31 2021 +0200
@@ -63,8 +63,8 @@
     try
     {
       OrthancDatabases::MySQLParameters parameters(mysql, configuration);
-      OrthancDatabases::StorageBackend::Register
-        (context, new OrthancDatabases::MySQLStorageArea(parameters, false /* don't clear database */));
+      OrthancDatabases::StorageBackend::Register(
+        context, new OrthancDatabases::MySQLStorageArea(parameters, false /* don't clear database */));
     }
     catch (Orthanc::OrthancException& e)
     {