diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-09-14 11:56:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-09-14 11:56:37 +0200 |
commit | 6501118f6c345fc1a4810611f8631172b105c279 (patch) | |
tree | ddb98a47c0b9e08724caf11e8d818e2600d931d9 /src/mintdb | |
parent | b04c5c7f305ca933748cad6f7f2308e2036ee205 (diff) | |
download | exchange-6501118f6c345fc1a4810611f8631172b105c279.tar.gz exchange-6501118f6c345fc1a4810611f8631172b105c279.tar.bz2 exchange-6501118f6c345fc1a4810611f8631172b105c279.zip |
remove /lock skeleton logic (#3625)
Diffstat (limited to 'src/mintdb')
-rw-r--r-- | src/mintdb/plugin_mintdb_common.c | 4 | ||||
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/mintdb/plugin_mintdb_common.c b/src/mintdb/plugin_mintdb_common.c index 11430127f..99ff92ae3 100644 --- a/src/mintdb/plugin_mintdb_common.c +++ b/src/mintdb/plugin_mintdb_common.c @@ -107,10 +107,6 @@ common_free_coin_transaction_list (void *cls, case TALER_MINTDB_TT_REFRESH_MELT: GNUNET_free (list->details.melt); break; - case TALER_MINTDB_TT_LOCK: - GNUNET_free (list->details.lock); - /* FIXME: look at this again once locking is implemented (#3625) */ - break; } GNUNET_free (list); list = next; diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index 6e26c82e9..f47e31b43 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -2666,7 +2666,7 @@ postgres_insert_refresh_commit_links (void *cls, PQclear (result); return GNUNET_SYSERR; } - + if (0 != strcmp ("1", PQcmdTuples (result))) { GNUNET_break (0); @@ -2734,7 +2734,7 @@ postgres_get_refresh_commit_links (void *cls, &links[i].shared_secret_enc), TALER_PQ_result_spec_end }; - + if (GNUNET_YES != TALER_PQ_extract_result (result, rs, 0)) { @@ -3286,8 +3286,6 @@ libtaler_plugin_mintdb_postgres_init (void *cls) plugin->get_link_data_list = &postgres_get_link_data_list; plugin->free_link_data_list = &common_free_link_data_list; plugin->get_transfer = &postgres_get_transfer; - // plugin->have_lock = &postgres_have_lock; /* #3625 */ - // plugin->insert_lock = &postgres_insert_lock; /* #3625 */ plugin->get_coin_transactions = &postgres_get_coin_transactions; plugin->free_coin_transaction_list = &common_free_coin_transaction_list; return plugin; |