aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_lookup_records_by_table.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-10-08 22:26:54 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-10-08 22:26:54 +0200
commitea11a9a0fdf754e647c1b09afaa2fa80d5aade02 (patch)
tree75c71d6ac8812629130c716b38717c45c1e7ad0e /src/exchangedb/pg_lookup_records_by_table.c
parenta9bea142cb5bbd16e9da589b910128e47a292119 (diff)
downloadexchange-ea11a9a0fdf754e647c1b09afaa2fa80d5aade02.tar.xz
-add missing SQL logic
Diffstat (limited to 'src/exchangedb/pg_lookup_records_by_table.c')
-rw-r--r--src/exchangedb/pg_lookup_records_by_table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/exchangedb/pg_lookup_records_by_table.c b/src/exchangedb/pg_lookup_records_by_table.c
index 8368d926b..9e47de481 100644
--- a/src/exchangedb/pg_lookup_records_by_table.c
+++ b/src/exchangedb/pg_lookup_records_by_table.c
@@ -1766,6 +1766,9 @@ lrbt_cb_table_account_merges (void *cls,
GNUNET_PQ_result_spec_auto_from_type (
"purse_pub",
&td.details.account_merges.purse_pub),
+ GNUNET_PQ_result_spec_auto_from_type (
+ "wallet_h_payto",
+ &td.details.account_merges.wallet_h_payto),
GNUNET_PQ_result_spec_end
};
@@ -2673,6 +2676,7 @@ TEH_PG_lookup_records_by_table (void *cls,
",reserve_pub"
",reserve_sig"
",purse_pub"
+ ",wallet_h_payto"
" FROM account_merges"
" WHERE account_merge_request_serial_id > $1"
" ORDER BY account_merge_request_serial_id ASC;");
@@ -2822,4 +2826,4 @@ TEH_PG_lookup_records_by_table (void *cls,
#undef XPREPARE
-/* end of lrbt_callbacks.c */
+/* end of pg_lookup_records_by_table.c */