diff options
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r-- | src/backenddb/test_merchantdb.c | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index e0ec18d4..fa7dffa8 100644 --- a/src/backenddb/test_merchantdb.c +++ b/src/backenddb/test_merchantdb.c @@ -6660,18 +6660,8 @@ run (void *cls) /* Data for 'store_payment()' */ /* Drop the tables to cleanup anything that might cause issues */ - if (NULL == (plugin = TALER_MERCHANTDB_plugin_load (cfg))) - { - result = 77; - return; - } - - GNUNET_break (GNUNET_OK == - plugin->drop_tables (plugin->cls)); - TALER_MERCHANTDB_plugin_unload (plugin); - - /* Load the plugin */ - if (NULL == (plugin = TALER_MERCHANTDB_plugin_load (cfg))) + if (NULL == (plugin = TALER_MERCHANTDB_plugin_load (cfg, + true))) { result = 77; return; @@ -6691,18 +6681,6 @@ run (void *cls) return; } - /* Unload the plugin */ - TALER_MERCHANTDB_plugin_unload (plugin); - if (NULL == (plugin = TALER_MERCHANTDB_plugin_load (cfg))) - { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Plugin unload failed\n"); - result = 77; - return; - } - - GNUNET_break (GNUNET_OK == - plugin->drop_tables (plugin->cls)); TALER_MERCHANTDB_plugin_unload (plugin); plugin = NULL; } |