summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index a1b659db..f4394a7e 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -617,7 +617,8 @@ postgres_insert_instance (void *cls,
const struct TALER_MerchantPublicKeyP *merchant_pub,
const struct TALER_MerchantPrivateKeyP *merchant_priv,
const struct TALER_MERCHANTDB_InstanceSettings *is,
- const struct TALER_MERCHANTDB_InstanceAuthSettings *ias)
+ const struct
+ TALER_MERCHANTDB_InstanceAuthSettings *ias)
{
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
@@ -769,6 +770,7 @@ postgres_update_instance (void *cls,
params);
}
+
/**
* Update information about an instance's authentication settings
* into our database.
@@ -780,7 +782,8 @@ postgres_update_instance (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_update_instance_auth (void *cls,
const char *merchant_id,
- const struct TALER_MERCHANTDB_InstanceAuthSettings *is)
+ const struct
+ TALER_MERCHANTDB_InstanceAuthSettings *is)
{
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
@@ -5600,7 +5603,6 @@ postgres_lookup_tip (void *cls,
GNUNET_PQ_result_spec_end
};
- check_connection (pg);
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
"lookup_tip",
params,
@@ -5954,7 +5956,6 @@ postgres_insert_pickup (void *cls,
GNUNET_PQ_query_param_end
};
- check_connection (pg);
qs = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"insert_pickup",
params);
@@ -5969,7 +5970,6 @@ postgres_insert_pickup (void *cls,
GNUNET_PQ_query_param_end
};
- check_connection (pg);
qs = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"update_picked_up_tip",
params);
@@ -6017,7 +6017,6 @@ postgres_insert_pickup (void *cls,
GNUNET_PQ_query_param_end
};
- check_connection (pg);
qs = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"update_picked_up_reserve",
params);