diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-23 08:19:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-23 08:19:44 +0000 |
commit | 62fea972d0310633a4572f1f3b2c07fc3c6908ec (patch) | |
tree | 2818ee58635a6cb061b8ba7468fe2a16af117bef /src/datastore | |
parent | 01b2f8c564418f85fa5c3663e46bb06f05d11c0b (diff) | |
download | gnunet-62fea972d0310633a4572f1f3b2c07fc3c6908ec.tar.gz gnunet-62fea972d0310633a4572f1f3b2c07fc3c6908ec.zip |
-check return code
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index b9c27c7b1..f2164ab17 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -827,8 +827,9 @@ static void | |||
827 | postgres_plugin_drop (void *cls) | 827 | postgres_plugin_drop (void *cls) |
828 | { | 828 | { |
829 | struct Plugin *plugin = cls; | 829 | struct Plugin *plugin = cls; |
830 | 830 | ||
831 | GNUNET_POSTGRES_exec (plugin->dbh, "DROP TABLE gn090"); | 831 | if (GNUNET_OK != GNUNET_POSTGRES_exec (plugin->dbh, "DROP TABLE gn090")) |
832 | GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "postgres", _("Failed to drop table from database.\n")); | ||
832 | } | 833 | } |
833 | 834 | ||
834 | 835 | ||