gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-anastasis] branch master updated: Some small modific


From: gnunet
Subject: [GNUnet-SVN] [taler-anastasis] branch master updated: Some small modifications...
Date: Mon, 14 Oct 2019 11:43:21 +0200

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new cb22e7b  Some small modifications...
cb22e7b is described below

commit cb22e7bda7e46462562935665201ce68ee7b4e08
Author: Dennis Neufeld <address@hidden>
AuthorDate: Mon Oct 14 11:43:18 2019 +0200

    Some small modifications...
---
 src/backup-db/plugin_anastasis_postgres.c | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/src/backup-db/plugin_anastasis_postgres.c 
b/src/backup-db/plugin_anastasis_postgres.c
index 4f45b21..8359e55 100644
--- a/src/backup-db/plugin_anastasis_postgres.c
+++ b/src/backup-db/plugin_anastasis_postgres.c
@@ -23,9 +23,6 @@
 #include "platform.h"
 #include <gnunet/gnunet_util_lib.h>
 #include <gnunet/gnunet_pq_lib.h>
-#include <taler/taler_util.h>
-#include <taler/taler_pq_lib.h>
-#include <taler/taler_json_lib.h>
 #include "anastasis_database_plugin.h"
 
 /**
@@ -495,17 +492,9 @@ plugin_anastasis_db_postgres_init (void *cls)
                               recovery_data bytea,
                               PRIMARY KEY (user_id, version)
                             );"),
-                            
+
     GNUNET_PQ_EXECUTE_STATEMENT_END
   };
-  struct GNUNET_PQ_PreparedStatement ps[] = {
-    GNUNET_PQ_make_prepare ("insert_foo",
-                            "INSERT INTO anastasis_foo"
-                            "(order_id) VALUES "
-                            "($1)",
-                            1),
-    GNUNET_PQ_PREPARED_STATEMENT_END
-  };
 
   pg = GNUNET_new (struct PostgresClosure);
   pg->cfg = cfg;
@@ -533,13 +522,13 @@ plugin_anastasis_db_postgres_init (void *cls)
 /**
  * Shutdown Postgres database subsystem.
  *
- * @param cls a `struct TALER_ANASTASISDB_Plugin`
+ * @param cls a `struct ANASTASIS_DB_Plugin`
  * @return NULL (always)
  */
 void *
-libtaler_plugin_anastasisdb_postgres_done (void *cls)
+plugin_anastasisdb_postgres_done (void *cls)
 {
-  struct TALER_ANASTASISDB_Plugin *plugin = cls;
+  struct ANASTASIS_DB_Plugin *plugin = cls;
   struct PostgresClosure *pg = plugin->cls;
 
   GNUNE_PQ_disconnect (pg->conn);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]