summaryrefslogtreecommitdiff
path: root/src/auditordb/pg_insert_row_minor_inconsistencies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditordb/pg_insert_row_minor_inconsistencies.c')
-rw-r--r--src/auditordb/pg_insert_row_minor_inconsistencies.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/auditordb/pg_insert_row_minor_inconsistencies.c b/src/auditordb/pg_insert_row_minor_inconsistencies.c
index c60fdc3c5..452ae6762 100644
--- a/src/auditordb/pg_insert_row_minor_inconsistencies.c
+++ b/src/auditordb/pg_insert_row_minor_inconsistencies.c
@@ -1,6 +1,3 @@
-
-
-
/*
This file is part of TALER
Copyright (C) 2024 Taler Systems SA
@@ -32,9 +29,8 @@ TAH_PG_insert_row_minor_inconsistencies (
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type(&dc->row_table),
-GNUNET_PQ_query_param_auto_from_type(&dc->diagnostic),
-GNUNET_PQ_query_param_bool(dc->suppressed),
+ GNUNET_PQ_query_param_auto_from_type (&dc->row_table),
+ GNUNET_PQ_query_param_auto_from_type (&dc->diagnostic),
GNUNET_PQ_query_param_end
@@ -43,15 +39,11 @@ GNUNET_PQ_query_param_bool(dc->suppressed),
PREPARE (pg,
"auditor_row_minor_inconsistencies_insert",
"INSERT INTO auditor_row_minor_inconsistencies "
- "( row_id,"
-" row_table,"
-" diagnostic,"
-" suppressed"
-") VALUES ($1,$2,$3,$4);"
+ "( row_table,"
+ " diagnostic"
+ ") VALUES ($1,$2);"
);
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"auditor_row_minor_inconsistencies_insert",
params);
}
-
- \ No newline at end of file