[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20700 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20700 - gnunet/src/datastore |
Date: |
Fri, 23 Mar 2012 09:19:44 +0100 |
Author: grothoff
Date: 2012-03-23 09:19:44 +0100 (Fri, 23 Mar 2012)
New Revision: 20700
Modified:
gnunet/src/datastore/plugin_datastore_postgres.c
Log:
-check return code
Modified: gnunet/src/datastore/plugin_datastore_postgres.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_postgres.c 2012-03-23 08:04:31 UTC
(rev 20699)
+++ gnunet/src/datastore/plugin_datastore_postgres.c 2012-03-23 08:19:44 UTC
(rev 20700)
@@ -827,8 +827,9 @@
postgres_plugin_drop (void *cls)
{
struct Plugin *plugin = cls;
-
- GNUNET_POSTGRES_exec (plugin->dbh, "DROP TABLE gn090");
+
+ if (GNUNET_OK != GNUNET_POSTGRES_exec (plugin->dbh, "DROP TABLE gn090"))
+ GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "postgres", _("Failed to drop
table from database.\n"));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20700 - gnunet/src/datastore,
gnunet <=