-fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 21 Dec 2012 15:24:03 +0000 (15:24 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 21 Dec 2012 15:24:03 +0000 (15:24 +0000)
src/datastore/Makefile.am
src/datastore/perf_plugin_datastore.c

index eb97996bd3db519e9cf564d85fa67759efaabaa2..29391b91a8a16c68a6102be744486e2de24377e9 100644 (file)
@@ -295,10 +295,13 @@ EXTRA_DIST = \
  test_defaults.conf \
  test_datastore_api_data_sqlite.conf \
  perf_plugin_datastore_data_sqlite.conf \
+ test_plugin_datastore_data_sqlite.conf \
+ test_datastore_api_data_heap.conf \
+ perf_plugin_datastore_data_heap.conf \
+ test_plugin_datastore_data_heap.conf \
  test_datastore_api_data_mysql.conf \
  perf_plugin_datastore_data_mysql.conf \
+ test_plugin_datastore_data_mysql.conf \
  test_datastore_api_data_postgres.conf \
  perf_plugin_datastore_data_postgres.conf \
- test_plugin_datastore_data_mysql.conf \
  test_plugin_datastore_data_postgres.conf \
- test_plugin_datastore_data_sqlite.conf
index bf15d961e4ea534b375fe6e98f761642543fb3a5..56e2b871c967b6d1f2202eb0831d6abdb87ff9ec 100644 (file)
@@ -436,6 +436,11 @@ run (void *cls, char *const *args, const char *cfgfile,
   struct GNUNET_DATASTORE_PluginFunctions *api;
   struct CpsRunContext *crc;
 
+  if (NULL == c)
+  {
+    GNUNET_break (0);
+    return;
+  }
   api = load_plugin (c);
   if (api == NULL)
   {